@@ -142,7 +142,9 @@ public void testDomainOnPVUsingWLST() throws Exception {
142142 logTestBegin (testMethodName );
143143 logger .info ("Creating Operator & waiting for the script to complete execution" );
144144 // create operator1
145- operator1 = TestUtils .createOperator (opManagingdefaultAndtest1NSYamlFile );
145+ if (operator1 == null ) {
146+ operator1 = TestUtils .createOperator (opManagingdefaultAndtest1NSYamlFile );
147+ }
146148 Domain domain = null ;
147149 boolean testCompletedSuccessfully = false ;
148150 try {
@@ -195,8 +197,6 @@ public void testDomainOnPVUsingWDT() throws Exception {
195197 testCompletedSuccessfully = true ;
196198 } finally {
197199 if (domain != null && (JENKINS || testCompletedSuccessfully )) {
198- // domain.destroy();
199- // TestUtils.verifyBeforeDeletion(domain);
200200 logger .info ("About to delete domain: " + domain .getDomainUid ());
201201 TestUtils .deleteWeblogicDomainResources (domain .getDomainUid ());
202202 TestUtils .verifyAfterDeletion (domain );
@@ -235,6 +235,8 @@ public void testTwoDomainsManagedByTwoOperators() throws Exception {
235235 // load input yaml to map and add configOverrides
236236 Map <String , Object > wlstDomainMap = TestUtils .loadYaml (domainOnPVUsingWLSTYamlFile );
237237 wlstDomainMap .put ("domainUID" , "domain1onpvwlst" );
238+ wlstDomainMap .put ("adminNodePort" , new Integer ("30702" ));
239+ wlstDomainMap .put ("t3ChannelPort" , new Integer ("30031" ));
238240 domain1 = TestUtils .createDomain (wlstDomainMap );
239241 domain1 .verifyDomainCreated ();
240242 testBasicUseCases (domain1 );
@@ -247,6 +249,8 @@ public void testTwoDomainsManagedByTwoOperators() throws Exception {
247249 // configured cluster
248250 Map <String , Object > wdtDomainMap = TestUtils .loadYaml (domainOnPVUsingWDTYamlFile );
249251 wdtDomainMap .put ("domainUID" , "domain2onpvwdt" );
252+ wdtDomainMap .put ("adminNodePort" , new Integer ("30703" ));
253+ wdtDomainMap .put ("t3ChannelPort" , new Integer ("30041" ));
250254 // wdtDomainMap.put("clusterType", "Configured");
251255 domain2 = TestUtils .createDomain (wdtDomainMap );
252256 domain2 .verifyDomainCreated ();
@@ -271,19 +275,17 @@ public void testTwoDomainsManagedByTwoOperators() throws Exception {
271275 String domainUidsToBeDeleted = "" ;
272276
273277 if (domain1 != null && (JENKINS || testCompletedSuccessfully )) {
274- // domain1.destroy();
275- // TestUtils.verifyBeforeDeletion(domain1);
276278 domainUidsToBeDeleted = domain1 .getDomainUid ();
277279 }
278280 if (domain2 != null && (JENKINS || testCompletedSuccessfully )) {
279- // domain2.destroy();
280281 domainUidsToBeDeleted = domainUidsToBeDeleted + "," + domain2 .getDomainUid ();
281282 }
282283 if (!domainUidsToBeDeleted .equals ("" )) {
283284 logger .info ("About to delete domains: " + domainUidsToBeDeleted );
284285 TestUtils .deleteWeblogicDomainResources (domainUidsToBeDeleted );
285-
286+ logger . info ( "domain1 domainMap " + domain1 . getDomainMap ());
286287 TestUtils .verifyAfterDeletion (domain1 );
288+ logger .info ("domain2 domainMap " + domain2 .getDomainMap ());
287289 TestUtils .verifyAfterDeletion (domain2 );
288290 }
289291 }
@@ -420,7 +422,8 @@ public void testAutoAndCustomSitConfigOverrides() throws Exception {
420422 Map <String , Object > domainMap = TestUtils .loadYaml (domainOnPVUsingWLSTYamlFile );
421423 domainMap .put ("configOverrides" , "sitconfigcm" );
422424 domainMap .put ("domainUID" , "customsitdomain" );
423-
425+ domainMap .put ("adminNodePort" , new Integer ("30704" ));
426+ domainMap .put ("t3ChannelPort" , new Integer ("30051" ));
424427 // use NFS for this domain on Jenkins, defaultis HOST_PATH
425428 if (System .getenv ("JENKINS" ) != null && System .getenv ("JENKINS" ).equalsIgnoreCase ("true" )) {
426429 domainMap .put ("weblogicDomainStorageType" , "NFS" );
0 commit comments