Re: svn commit: r1641902 - in /lucene/dev/trunk/lucene: core/src/test/org/apache/lucene/index/TestIndexWriter.java test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java test-framewo

2014-12-02 Thread Michael McCandless
I'll fix the message to make it clear you are not running on WINDOWS but rather our WindowsFS. I agree we should strive to have our tests be portable across OS's ... But unfortunately this test case is for a nasty corruption bug (LUCENE-5574) that can't happen on Windows... Mike McCandless

Re: svn commit: r1641902 - in /lucene/dev/trunk/lucene: core/src/test/org/apache/lucene/index/TestIndexWriter.java test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java test-framewo

2014-12-02 Thread Chris Hostetter
: I'll fix the message to make it clear you are not running on WINDOWS : but rather our WindowsFS. thanks. : I agree we should strive to have our tests be portable across OS's ... : : But unfortunately this test case is for a nasty corruption bug : (LUCENE-5574) that can't happen on Windows...

Re: svn commit: r1641902 - in /lucene/dev/trunk/lucene: core/src/test/org/apache/lucene/index/TestIndexWriter.java test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java test-framewo

2014-12-02 Thread Robert Muir
On Tue, Dec 2, 2014 at 12:01 PM, Chris Hostetter hossman_luc...@fucit.org wrote: my question: rather then assumeFalse() ~1/10 of the time (even when the underlying OS/FS is *NOT* windows) why not unwrap that (mock) windowsfs and still run the test using the real file system? Wouldn't that be

Re: svn commit: r1641902 - in /lucene/dev/trunk/lucene: core/src/test/org/apache/lucene/index/TestIndexWriter.java test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java test-framewo

2014-12-01 Thread Chris Hostetter
: assumeFalse(this test can't run on Windows, Constants.WINDOWS); : : MockDirectoryWrapper dir = newMockDirectory(); : +if (TestUtil.isWindowsFS(dir)) { : + dir.close(); : + assumeFalse(this test can't run on Windows, true); : +} this specific assume msg seems like

Re: svn commit: r1641902 - in /lucene/dev/trunk/lucene: core/src/test/org/apache/lucene/index/TestIndexWriter.java test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java test-framewo

2014-12-01 Thread Robert Muir
-1. our test framework doesnt need to support this. the problem here is the test, its no good and doesnt work on windows. An assume is the correct answer for a shitty test. On Mon, Dec 1, 2014 at 5:46 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : assumeFalse(this test can't run on