@@ -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
@@ -339,13 +339,24 @@ public void testWSLoadBalancing(Domain domain) throws Exception {
339
339
logger .info ("Done - testWSLoadBalancing" );
340
340
}
341
341
342
+ /**
343
+ * use default cluster service port 8011
344
+ *
345
+ * @param operator
346
+ * @param domain
347
+ * @throws Exception
348
+ */
349
+ public void testDomainLifecyle (Operator operator , Domain domain ) throws Exception {
350
+ testDomainLifecyle (operator , domain , 8011 );
351
+ }
352
+
342
353
/**
343
354
* Restarting the domain should not have any impact on Operator managing the domain, web app load
344
355
* balancing and node port service
345
356
*
346
357
* @throws Exception
347
358
*/
348
- public void testDomainLifecyle (Operator operator , Domain domain ) throws Exception {
359
+ public void testDomainLifecyle (Operator operator , Domain domain , int port ) throws Exception {
349
360
logger .info ("Inside testDomainLifecyle" );
350
361
domain .destroy ();
351
362
domain .create ();
@@ -362,7 +373,7 @@ public void testDomainLifecyle(Operator operator, Domain domain) throws Exceptio
362
373
// intermittent failure, see OWLS-73416
363
374
// testWSLoadBalancing(domain);
364
375
domain .verifyAdminServerExternalService (getUsername (), getPassword ());
365
- domain .verifyHasClusterServiceChannelPort ("TCP" , 8011 , TESTWEBAPP + "/" );
376
+ domain .verifyHasClusterServiceChannelPort ("TCP" , port , TESTWEBAPP + "/" );
366
377
logger .info ("Done - testDomainLifecyle" );
367
378
}
368
379
0 commit comments