File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ public void testCreateDomainTwoConfiguredCluster() throws Exception {
93
93
"createDomainPyScript" ,
94
94
"integration-tests/src/test/resources/domain-home-on-pv/"
95
95
+ TWO_CONFIGURED_CLUSTER_SCRIPT );
96
+ if (System .getenv ("LB_TYPE" ) != null
97
+ && System .getenv ("LB_TYPE" ).equalsIgnoreCase ("VOYAGER" )) {
98
+ domainMap .put ("voyagerWebPort" , new Integer ("30366" ));
99
+ }
96
100
addCluster2ToDomainTemplate ();
97
101
domain = TestUtils .createDomain (domainMap );
98
102
domain .verifyDomainCreated ();
@@ -136,6 +140,10 @@ public void testCreateDomainTwoMixedCluster() throws Exception {
136
140
domainMap .put (
137
141
"createDomainPyScript" ,
138
142
"integration-tests/src/test/resources/domain-home-on-pv/" + TWO_MIXED_CLUSTER_SCRIPT );
143
+ if (System .getenv ("LB_TYPE" ) != null
144
+ && System .getenv ("LB_TYPE" ).equalsIgnoreCase ("VOYAGER" )) {
145
+ domainMap .put ("voyagerWebPort" , new Integer ("30377" ));
146
+ }
139
147
addCluster2ToDomainTemplate ();
140
148
domain = TestUtils .createDomain (domainMap );
141
149
domain .verifyDomainCreated ();
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ public static void staticPrepare() throws Exception {
64
64
Map <String , Object > domainMap = TestUtils .loadYaml (DOMAINONPV_WLST_YAML );
65
65
// Treafik doesn't work due to the bug 28050300. Use Voyager instead
66
66
domainMap .put ("LB_TYPE" , "VOYAGER" );
67
+ domainMap .put ("voyagerWebPort" , new Integer ("30355" ));
67
68
domain = TestUtils .createDomain (domainMap );
68
69
domain .verifyDomainCreated ();
69
70
}
You can’t perform that action at this time.
0 commit comments