Skip to content

Commit 3e3d49e

Browse files
committed
fix t3url
1 parent 226169e commit 3e3d49e

File tree

1 file changed

+8
-3
lines changed
  • integration-tests/src/test/java/oracle/kubernetes/operator/utils

1 file changed

+8
-3
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,13 +487,18 @@ public void deployWebAppViaWLST(
487487
adminPod,
488488
domainNS);
489489

490+
String t3Url = "t3://" + adminPod + ":";
491+
if (useAdminPortToDeploy) {
492+
t3Url = t3Url + domainMap.getOrDefault("adminPort", 7001);
493+
} else {
494+
t3Url = t3Url + t3ChannelPort;
495+
}
496+
490497
String[] args = {
491498
appLocationInPod + "/deploywebapp.py",
492499
BaseTest.getUsername(),
493500
BaseTest.getPassword(),
494-
useAdminPortToDeploy
495-
? (domainMap.getOrDefault("adminPort", 7001)).toString()
496-
: "t3://" + adminPod + ":" + t3ChannelPort,
501+
t3Url,
497502
webappName,
498503
appLocationInPod + "/" + webappName + ".war",
499504
clusterName

0 commit comments

Comments
 (0)