@@ -77,9 +77,8 @@ protected static void staticPrepare(String domainInputYaml, String domainScript)
77
77
ExecResult result = TestUtils .exec ("kubectl create -f " + mysqlYamlFile );
78
78
Assert .assertEquals (0 , result .exitValue ());
79
79
80
- // fqdn = TestUtils.getHostName();
81
-
82
- JDBC_URL = "jdbc:mysql://" + TestUtils .getHostName () + ":" + MYSQL_DB_PORT + "/" ;
80
+ fqdn = TestUtils .getHostName ();
81
+ JDBC_URL = "jdbc:mysql://" + fqdn + ":" + MYSQL_DB_PORT + "/" ;
83
82
// copy the configuration override files to replacing the JDBC_URL token
84
83
String [] files = {
85
84
"config.xml" ,
@@ -249,7 +248,7 @@ protected void testCustomSitConfigOverridesForDomain() throws Exception {
249
248
+ " 'sh runSitConfigTests.sh "
250
249
+ fqdn
251
250
+ " "
252
- + 7001
251
+ + T3CHANNELPORT
253
252
+ " weblogic welcome1 "
254
253
+ testMethod
255
254
+ "'" );
@@ -277,7 +276,7 @@ protected void testCustomSitConfigOverridesForDomainMS() throws Exception {
277
276
+ " 'sh runSitConfigTests.sh "
278
277
+ fqdn
279
278
+ " "
280
- + 7001
279
+ + T3CHANNELPORT
281
280
+ " weblogic welcome1 "
282
281
+ testMethod
283
282
+ " managed-server1'" );
@@ -310,7 +309,7 @@ protected void testCustomSitConfigOverridesForJdbc() throws Exception {
310
309
+ " 'sh runSitConfigTests.sh "
311
310
+ fqdn
312
311
+ " "
313
- + 7001
312
+ + T3CHANNELPORT
314
313
+ " weblogic welcome1 "
315
314
+ testMethod
316
315
+ " "
@@ -341,7 +340,7 @@ protected void testCustomSitConfigOverridesForJms() throws Exception {
341
340
+ " 'sh runSitConfigTests.sh "
342
341
+ fqdn
343
342
+ " "
344
- + 7001
343
+ + T3CHANNELPORT
345
344
+ " weblogic welcome1 "
346
345
+ testMethod
347
346
+ "'" );
@@ -372,7 +371,7 @@ protected void testCustomSitConfigOverridesForWldf() throws Exception {
372
371
+ " 'sh runSitConfigTests.sh "
373
372
+ fqdn
374
373
+ " "
375
- + 7001
374
+ + T3CHANNELPORT
376
375
+ " weblogic welcome1 "
377
376
+ testMethod
378
377
+ "'" );
@@ -406,7 +405,7 @@ protected void testConfigOverrideAfterDomainStartup() throws Exception {
406
405
+ " 'sh runSitConfigTests.sh "
407
406
+ fqdn
408
407
+ " "
409
- + 7001
408
+ + T3CHANNELPORT
410
409
+ " weblogic welcome1 "
411
410
+ testMethod
412
411
+ "'" );
@@ -441,7 +440,7 @@ protected void testOverrideJdbcResourceAfterDomainStart() throws Exception {
441
440
+ " 'sh runSitConfigTests.sh "
442
441
+ fqdn
443
442
+ " "
444
- + 7001
443
+ + T3CHANNELPORT
445
444
+ " weblogic welcome1 "
446
445
+ testMethod
447
446
+ "'" );
@@ -471,7 +470,7 @@ protected void testOverrideJdbcResourceWithNewSecret() throws Exception {
471
470
+ " 'sh runSitConfigTests.sh "
472
471
+ fqdn
473
472
+ " "
474
- + 7001
473
+ + T3CHANNELPORT
475
474
+ " weblogic welcome1 "
476
475
+ testMethod
477
476
+ " "
0 commit comments