Skip to content

Commit 7a0654a

Browse files
committed
format
1 parent 2d39b08 commit 7a0654a

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,8 @@ public void testAddRemoveDomainUpdateOperatorHC() throws Exception {
632632
verifyOperatorDomainManagement(operator, domainnew, true);
633633
testCompletedSuccessfully = true;
634634
} finally {
635-
if (domain != null)
636-
TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
637-
if (domainnew != null)
638-
domainnew.destroy();
635+
if (domain != null) TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
636+
if (domainnew != null) domainnew.destroy();
639637
if (operator != null) {
640638
operator.destroy();
641639
}
@@ -670,14 +668,13 @@ public void testDeleteOperatorButNotDomain() throws Exception {
670668
operator = null;
671669
domain.testWlsLivenessProbe();
672670
testCompletedSuccessfully = true;
673-
} finally {
674-
if (domain != null)
675-
TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
676-
if (operator != null) {
677-
operator.destroy();
678-
}
679-
number++;
671+
} finally {
672+
if (domain != null) TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
673+
if (operator != null) {
674+
operator.destroy();
680675
}
676+
number++;
677+
}
681678
logger.info("SUCCESS - " + testMethodName);
682679
}
683680

0 commit comments

Comments
 (0)