File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments