File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,16 @@ public static void setupSaml() throws Exception {
37
37
Logger logger = Loggers .getLogger (SamlTestCase .class );
38
38
if (isTurkishLocale ()) {
39
39
// See: https://github.com/elastic/x-pack-elasticsearch/issues/2815
40
- logger .warn ("Attempting to run SAML test on turkish locale, but that breaks OpenSAML. Switching to English." );
40
+ logger .warn ("Attempting to run SAML test on turkish-like locale, but that breaks OpenSAML. Switching to English." );
41
41
restoreLocale = Locale .getDefault ();
42
42
Locale .setDefault (Locale .ENGLISH );
43
43
}
44
44
SamlUtils .initialize (logger );
45
45
}
46
46
47
47
private static boolean isTurkishLocale () {
48
- return Locale .getDefault ().getLanguage ().equals (new Locale ("tr" ).getLanguage ());
48
+ return Locale .getDefault ().getLanguage ().equals (new Locale ("tr" ).getLanguage ())
49
+ || Locale .getDefault ().getLanguage ().equals (new Locale ("az" ).getLanguage ());
49
50
}
50
51
51
52
@ AfterClass
You can’t perform that action at this time.
0 commit comments