File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -623,10 +623,8 @@ public void testAddRemoveDomainUpdateOperatorHC() throws Exception {
623623 verifyOperatorDomainManagement (operator , domainnew , true );
624624 testCompletedSuccessfully = true ;
625625 } finally {
626- if (domain != null && !SMOKETEST && (JENKINS || testCompletedSuccessfully ))
627- TestUtils .deleteWeblogicDomainResources (domain .getDomainUid ());
628- if (domainnew != null && !SMOKETEST && (JENKINS || testCompletedSuccessfully ))
629- domainnew .destroy ();
626+ if (domain != null ) TestUtils .deleteWeblogicDomainResources (domain .getDomainUid ());
627+ if (domainnew != null ) domainnew .destroy ();
630628
631629 if (operator != null ) {
632630 operator .destroy ();
@@ -662,8 +660,7 @@ public void testDeleteOperatorButNotDomain() throws Exception {
662660 domain .testWlsLivenessProbe ();
663661 testCompletedSuccessfully = true ;
664662 } finally {
665- if (domain != null && !SMOKETEST && (JENKINS || testCompletedSuccessfully ))
666- TestUtils .deleteWeblogicDomainResources (domain .getDomainUid ());
663+ if (domain != null ) TestUtils .deleteWeblogicDomainResources (domain .getDomainUid ());
667664
668665 if (operator != null ) {
669666 operator .destroy ();
You can’t perform that action at this time.
0 commit comments