Skip to content

Commit 6d2b311

Browse files
committed
format and removed unneeded files
1 parent 7a0654a commit 6d2b311

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

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

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,12 @@ public void testAddRemoveDomainUpdateOperatorHC() throws Exception {
632632
verifyOperatorDomainManagement(operator, domainnew, true);
633633
testCompletedSuccessfully = true;
634634
} finally {
635-
if (domain != null) TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
636-
if (domainnew != null) domainnew.destroy();
635+
if (domain != null) {
636+
TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
637+
}
638+
if (domainnew != null) {
639+
domainnew.destroy();
640+
}
637641
if (operator != null) {
638642
operator.destroy();
639643
}
@@ -669,7 +673,9 @@ public void testDeleteOperatorButNotDomain() throws Exception {
669673
domain.testWlsLivenessProbe();
670674
testCompletedSuccessfully = true;
671675
} finally {
672-
if (domain != null) TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
676+
if (domain != null) {
677+
TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
678+
}
673679
if (operator != null) {
674680
operator.destroy();
675681
}
@@ -700,8 +706,9 @@ private void verifyOperatorDomainManagement(
700706
}
701707
if (i == maxIterations - 1) {
702708
String errorMsg = "FAILURE: Operator can't access the domain " + domain.getDomainUid();
703-
if (!isAccessible)
709+
if (!isAccessible) {
704710
errorMsg = "FAILURE: Operator still can access the domain " + domain.getDomainUid();
711+
}
705712
throw new RuntimeException(errorMsg);
706713
}
707714
logger.info("iteration " + i + " of " + maxIterations);

src/integration-tests/apps/webservices/META-INF/application.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/integration-tests/apps/webservices/web/WEB-INF/web.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)