@@ -64,7 +64,7 @@ public class BaseTest {
64
64
private static int waitTimePod = 5 ;
65
65
private static String leaseId = "" ;
66
66
private static String branchName = "" ;
67
- private static String appLocationInPod = "/u01/oracle/apps" ;
67
+ protected static String appLocationInPod = "/u01/oracle/apps" ;
68
68
private static String appLocationOnHost ;
69
69
private static Properties appProps ;
70
70
@@ -350,13 +350,24 @@ public void testWSLoadBalancing(Domain domain) throws Exception {
350
350
logger .info ("Done - testWSLoadBalancing" );
351
351
}
352
352
353
+ /**
354
+ * use default cluster service port 8011
355
+ *
356
+ * @param operator
357
+ * @param domain
358
+ * @throws Exception
359
+ */
360
+ public void testDomainLifecyle (Operator operator , Domain domain ) throws Exception {
361
+ testDomainLifecyle (operator , domain , 8011 );
362
+ }
363
+
353
364
/**
354
365
* Restarting the domain should not have any impact on Operator managing the domain, web app load
355
366
* balancing and node port service
356
367
*
357
368
* @throws Exception
358
369
*/
359
- public void testDomainLifecyle (Operator operator , Domain domain ) throws Exception {
370
+ public void testDomainLifecyle (Operator operator , Domain domain , int port ) throws Exception {
360
371
logger .info ("Inside testDomainLifecyle" );
361
372
domain .destroy ();
362
373
domain .create ();
@@ -373,7 +384,7 @@ public void testDomainLifecyle(Operator operator, Domain domain) throws Exceptio
373
384
// intermittent failure, see OWLS-73416
374
385
// testWSLoadBalancing(domain);
375
386
domain .verifyAdminServerExternalService (getUsername (), getPassword ());
376
- domain .verifyHasClusterServiceChannelPort ("TCP" , 8011 , TESTWEBAPP + "/" );
387
+ domain .verifyHasClusterServiceChannelPort ("TCP" , port , TESTWEBAPP + "/" );
377
388
logger .info ("Done - testDomainLifecyle" );
378
389
}
379
390
0 commit comments