@@ -77,9 +77,8 @@ protected static void staticPrepare(String domainInputYaml, String domainScript)
7777 ExecResult result = TestUtils .exec ("kubectl create -f " + mysqlYamlFile );
7878 Assert .assertEquals (0 , result .exitValue ());
7979
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 + "/" ;
8382 // copy the configuration override files to replacing the JDBC_URL token
8483 String [] files = {
8584 "config.xml" ,
@@ -249,7 +248,7 @@ protected void testCustomSitConfigOverridesForDomain() throws Exception {
249248 + " 'sh runSitConfigTests.sh "
250249 + fqdn
251250 + " "
252- + 7001
251+ + T3CHANNELPORT
253252 + " weblogic welcome1 "
254253 + testMethod
255254 + "'" );
@@ -277,7 +276,7 @@ protected void testCustomSitConfigOverridesForDomainMS() throws Exception {
277276 + " 'sh runSitConfigTests.sh "
278277 + fqdn
279278 + " "
280- + 7001
279+ + T3CHANNELPORT
281280 + " weblogic welcome1 "
282281 + testMethod
283282 + " managed-server1'" );
@@ -310,7 +309,7 @@ protected void testCustomSitConfigOverridesForJdbc() throws Exception {
310309 + " 'sh runSitConfigTests.sh "
311310 + fqdn
312311 + " "
313- + 7001
312+ + T3CHANNELPORT
314313 + " weblogic welcome1 "
315314 + testMethod
316315 + " "
@@ -341,7 +340,7 @@ protected void testCustomSitConfigOverridesForJms() throws Exception {
341340 + " 'sh runSitConfigTests.sh "
342341 + fqdn
343342 + " "
344- + 7001
343+ + T3CHANNELPORT
345344 + " weblogic welcome1 "
346345 + testMethod
347346 + "'" );
@@ -372,7 +371,7 @@ protected void testCustomSitConfigOverridesForWldf() throws Exception {
372371 + " 'sh runSitConfigTests.sh "
373372 + fqdn
374373 + " "
375- + 7001
374+ + T3CHANNELPORT
376375 + " weblogic welcome1 "
377376 + testMethod
378377 + "'" );
@@ -406,7 +405,7 @@ protected void testConfigOverrideAfterDomainStartup() throws Exception {
406405 + " 'sh runSitConfigTests.sh "
407406 + fqdn
408407 + " "
409- + 7001
408+ + T3CHANNELPORT
410409 + " weblogic welcome1 "
411410 + testMethod
412411 + "'" );
@@ -441,7 +440,7 @@ protected void testOverrideJdbcResourceAfterDomainStart() throws Exception {
441440 + " 'sh runSitConfigTests.sh "
442441 + fqdn
443442 + " "
444- + 7001
443+ + T3CHANNELPORT
445444 + " weblogic welcome1 "
446445 + testMethod
447446 + "'" );
@@ -471,7 +470,7 @@ protected void testOverrideJdbcResourceWithNewSecret() throws Exception {
471470 + " 'sh runSitConfigTests.sh "
472471 + fqdn
473472 + " "
474- + 7001
473+ + T3CHANNELPORT
475474 + " weblogic welcome1 "
476475 + testMethod
477476 + " "
0 commit comments