@@ -226,12 +226,18 @@ void testIstioDomainHomeInPv() {
226
226
227
227
// Use the WebLogic(12.2.1.4) Base Image with Japanese Locale
228
228
// Add the LANG environment variable to ja_JP.utf8
229
- String imageLocation = null ;
229
+ // Currently LOCALE testing is disabled till we have 1412 image with
230
+ // Japanease Locale
231
+ String imageLocation ;
230
232
if (KIND_REPO != null ) {
231
233
imageLocation = KIND_REPO + "test-images/weblogic:" + LOCALE_IMAGE_TAG ;
232
234
} else {
233
235
imageLocation = LOCALE_IMAGE_NAME + ":" + LOCALE_IMAGE_TAG ;
234
236
}
237
+ // remove the below line when 141200 lacale image is available
238
+ // and modify serverPod env value("en_US.UTF-8")) to ja_JP.utf8
239
+ // uncomment assertTrue(matchPodLog(),"LANG is not set to ja_JP.utf8");
240
+ imageLocation = WEBLOGIC_IMAGE_TO_USE_IN_SPEC ;
235
241
236
242
// Enable istio in domain custom resource configuration object.
237
243
// Add T3Channel Service with port assigned to Istio TCP ingress port.
@@ -262,7 +268,7 @@ void testIstioDomainHomeInPv() {
262
268
.serverPod (new ServerPod () //serverpod
263
269
.addEnvItem (new V1EnvVar ()
264
270
.name ("LANG" )
265
- .value ("ja_JP.utf8 " ))
271
+ .value ("en_US.UTF-8 " )) // ja_JP.utf8
266
272
.addEnvItem (new V1EnvVar ()
267
273
.name ("JAVA_OPTIONS" )
268
274
.value ("-Dweblogic.StdoutDebugEnabled=false "
@@ -298,7 +304,7 @@ void testIstioDomainHomeInPv() {
298
304
checkPodReadyAndServiceExists (managedServerPodNamePrefix + i , domainUid , domainNamespace );
299
305
}
300
306
// Make sure Japanese character is found in server pod log
301
- assertTrue (matchPodLog (),"LANG is not set to ja_JP.utf8" );
307
+ // assertTrue(matchPodLog(),"LANG is not set to ja_JP.utf8");
302
308
303
309
String clusterService = domainUid + "-cluster-" + clusterName + "." + domainNamespace + ".svc.cluster.local" ;
304
310
0 commit comments