mirror of https://github.com/apache/lucene.git
SOLR-6387: additional map-reduce test that does forking and needs 'tr' check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620707 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1cd1d47d37
commit
7555e1c43c
|
@ -23,6 +23,7 @@ import java.io.UnsupportedEncodingException;
|
|||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Locale;
|
||||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.hadoop.conf.Configuration;
|
||||
|
@ -61,6 +62,8 @@ public class MapReduceIndexerToolArgumentParserTest extends SolrTestCaseJ4 {
|
|||
@BeforeClass
|
||||
public static void beforeClass() {
|
||||
assumeFalse("Does not work on Windows, because it uses UNIX shell commands or POSIX paths", Constants.WINDOWS);
|
||||
assumeFalse("This test fails on UNIX with Turkish default locale (https://issues.apache.org/jira/browse/SOLR-6387)",
|
||||
new Locale("tr").getLanguage().equals(Locale.getDefault().getLanguage()));
|
||||
}
|
||||
|
||||
@Before
|
||||
|
|
Loading…
Reference in New Issue