Skip to content

Commit c76dadc

Browse files
committed
removed sleep calls, corrected Readme1
1 parent a40893e commit c76dadc

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITUsabilityOperatorHelmChart.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)