LUCENE-6036: Prevent this test failing on turkish default locale

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2014-10-30 17:04:13 +00:00
parent 0a27b98333
commit b57699ff06
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.lucene.store.BaseDirectoryWrapper;
@ -47,6 +48,8 @@ public class TestIndexWriterOnJRECrash extends TestNRTThreads {
@Override
public void setUp() throws Exception {
super.setUp();
assumeFalse("This test fails on UNIX with Turkish default locale (https://issues.apache.org/jira/browse/LUCENE-6036)",
new Locale("tr").getLanguage().equals(Locale.getDefault().getLanguage()));
tempDir = createTempDir("jrecrash");
}