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 {
3737 Logger logger = Loggers .getLogger (SamlTestCase .class );
3838 if (isTurkishLocale ()) {
3939 // 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." );
4141 restoreLocale = Locale .getDefault ();
4242 Locale .setDefault (Locale .ENGLISH );
4343 }
4444 SamlUtils .initialize (logger );
4545 }
4646
4747 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 ());
4950 }
5051
5152 @ AfterClass
You can’t perform that action at this time.
0 commit comments