disable WindowsFS for this test. unsure if its a problem on real windows too

This commit is contained in:
Robert Muir 2015-04-17 09:21:54 -04:00
parent 2d9e5b4807
commit d08322e000
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ package org.elasticsearch.common.io;
import com.google.common.base.Charsets;
import org.elasticsearch.test.ElasticsearchTestCase;
import org.apache.lucene.util.LuceneTestCase.SuppressFileSystems;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
@ -31,7 +32,6 @@ import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertFileExists;
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertFileNotExists;
@ -41,6 +41,7 @@ import static org.hamcrest.CoreMatchers.is;
/**
* Unit tests for {@link org.elasticsearch.common.io.FileSystemUtils}.
*/
@SuppressFileSystems("WindowsFS") // tries to move away open file handles
public class FileSystemUtilsTests extends ElasticsearchTestCase {
private Path src;