Skip to content

Commit e18494c

Browse files
minor change
1 parent 1fd36d4 commit e18494c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITMultipleClusters.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ public void testCreateDomainTwoConfiguredCluster() throws Exception {
9393
"createDomainPyScript",
9494
"integration-tests/src/test/resources/domain-home-on-pv/"
9595
+ TWO_CONFIGURED_CLUSTER_SCRIPT);
96-
if (System.getenv("LB_TYPE") != null
97-
&& System.getenv("LB_TYPE").equalsIgnoreCase("VOYAGER")) {
96+
if ((System.getenv("LB_TYPE") != null && System.getenv("LB_TYPE").equalsIgnoreCase("VOYAGER"))
97+
|| (domainMap.containsKey("LB_TYPE")
98+
&& ((String) domainMap.get("LB_TYPE")).equalsIgnoreCase("VOYAGER"))) {
9899
domainMap.put("voyagerWebPort", new Integer("30366"));
99100
}
100101
addCluster2ToDomainTemplate();

0 commit comments

Comments
 (0)