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 {
623
623
verifyOperatorDomainManagement (operator , domainnew , true );
624
624
testCompletedSuccessfully = true ;
625
625
} 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 ();
630
628
631
629
if (operator != null ) {
632
630
operator .destroy ();
@@ -662,8 +660,7 @@ public void testDeleteOperatorButNotDomain() throws Exception {
662
660
domain .testWlsLivenessProbe ();
663
661
testCompletedSuccessfully = true ;
664
662
} finally {
665
- if (domain != null && !SMOKETEST && (JENKINS || testCompletedSuccessfully ))
666
- TestUtils .deleteWeblogicDomainResources (domain .getDomainUid ());
663
+ if (domain != null ) TestUtils .deleteWeblogicDomainResources (domain .getDomainUid ());
667
664
668
665
if (operator != null ) {
669
666
operator .destroy ();
You can’t perform that action at this time.
0 commit comments