LUCENE-5951: these test cases can't run on Windows

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646791 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2014-12-19 16:40:58 +00:00
parent 33410e30c1
commit 2a95001cee
1 changed files with 3 additions and 0 deletions

View File

@ -306,6 +306,7 @@ public class TestIOUtils extends LuceneTestCase {
} }
public void testSSD() throws Exception { public void testSSD() throws Exception {
assumeFalse("windows is not supported", Constants.WINDOWS);
Path dir = createTempDir(); Path dir = createTempDir();
dir = FilterPath.unwrap(dir).toRealPath(); dir = FilterPath.unwrap(dir).toRealPath();
@ -329,6 +330,7 @@ public class TestIOUtils extends LuceneTestCase {
} }
public void testRotatingPlatters() throws Exception { public void testRotatingPlatters() throws Exception {
assumeFalse("windows is not supported", Constants.WINDOWS);
Path dir = createTempDir(); Path dir = createTempDir();
dir = FilterPath.unwrap(dir).toRealPath(); dir = FilterPath.unwrap(dir).toRealPath();
@ -352,6 +354,7 @@ public class TestIOUtils extends LuceneTestCase {
} }
public void testManyPartitions() throws Exception { public void testManyPartitions() throws Exception {
assumeFalse("windows is not supported", Constants.WINDOWS);
Path dir = createTempDir(); Path dir = createTempDir();
dir = FilterPath.unwrap(dir).toRealPath(); dir = FilterPath.unwrap(dir).toRealPath();