SOLR-8593: in TestSQLHandler assume not run with Turkish locale

This commit is contained in:
Joel Bernstein 2017-03-06 12:20:28 -05:00
parent acb185b2dc
commit 6df17c8cfe
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ package org.apache.solr.handler;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Locale;
import org.apache.solr.client.solrj.io.Tuple; import org.apache.solr.client.solrj.io.Tuple;
import org.apache.solr.client.solrj.io.stream.ExceptionStream; import org.apache.solr.client.solrj.io.stream.ExceptionStream;
@ -69,6 +70,9 @@ public class TestSQLHandler extends AbstractFullDistribZkTestBase {
@Test @Test
public void doTest() throws Exception { public void doTest() throws Exception {
assumeFalse("This test fails on UNIX with Turkish default locale", new Locale("tr").getLanguage().equals(Locale.getDefault().getLanguage()));
waitForRecoveriesToFinish(false); waitForRecoveriesToFinish(false);
testBasicSelect(); testBasicSelect();