File tree Expand file tree Collapse file tree 3 files changed +11
-17
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator
src/integration-tests/apps/webservices Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Original file line number Diff line number Diff 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 );
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments