File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,9 @@ public void testCreateDomainTwoConfiguredCluster() throws Exception {
128
128
Paths .get (template + ".org" ), Paths .get (template ), StandardCopyOption .REPLACE_EXISTING );
129
129
Files .delete (Paths .get (template + ".org" ));
130
130
}
131
- domain .shutdownUsingServerStartPolicy ();
131
+ if (domain != null ) {
132
+ domain .destroy ();
133
+ }
132
134
}
133
135
logger .info ("SUCCESS - " + testMethodName );
134
136
}
@@ -194,7 +196,9 @@ public void testCreateDomainTwoMixedCluster() throws Exception {
194
196
Paths .get (template + ".org" ), Paths .get (template ), StandardCopyOption .REPLACE_EXISTING );
195
197
Files .delete (Paths .get (template + ".org" ));
196
198
}
197
- domain .shutdownUsingServerStartPolicy ();
199
+ if (domain != null ) {
200
+ domain .destroy ();
201
+ }
198
202
}
199
203
logger .info ("SUCCESS - " + testMethodName );
200
204
}
You can’t perform that action at this time.
0 commit comments