File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -124,31 +124,12 @@ public static void staticPrepare() throws Exception {
124
124
*/
125
125
@ AfterClass
126
126
public static void staticUnPrepare () throws Exception {
127
+ Assume .assumeFalse (QUICKTEST );
127
128
logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
128
129
logger .info ("BEGIN" );
129
130
logger .info ("Run once, release cluster lease" );
130
131
131
- StringBuffer cmd =
132
- new StringBuffer ("export RESULT_ROOT=$RESULT_ROOT && export PV_ROOT=$PV_ROOT && " );
133
- cmd .append (BaseTest .getProjectRoot ())
134
- .append ("/integration-tests/src/test/resources/statedump.sh" );
135
- logger .info ("Running " + cmd );
136
-
137
- ExecResult result = ExecCommand .exec (cmd .toString ());
138
- if (result .exitValue () == 0 ) logger .info ("Executed statedump.sh " + result .stdout ());
139
- else
140
- logger .info ("Execution of statedump.sh failed, " + result .stderr () + "\n " + result .stdout ());
141
-
142
- if (domain != null && !SMOKETEST ) domain .shutdownUsingServerStartPolicy ();
143
-
144
- if (JENKINS ) {
145
- cleanup ();
146
- }
147
-
148
- if (getLeaseId () != "" ) {
149
- logger .info ("Release the k8s cluster lease" );
150
- TestUtils .releaseLease (getProjectRoot (), getLeaseId ());
151
- }
132
+ tearDown ();
152
133
153
134
logger .info ("SUCCESS" );
154
135
}
You can’t perform that action at this time.
0 commit comments