mirror of https://github.com/apache/lucene.git
Don't run this test if temporary folders are left behind.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
10f96205a3
commit
1eb3366eb6
|
@ -69,9 +69,9 @@ public class TestLeaveFilesIfTestFails extends WithNestedTests {
|
|||
@Test
|
||||
public void testWindowsUnremovableFile() throws IOException {
|
||||
RandomizedTest.assumeTrue("Requires Windows.", Constants.WINDOWS);
|
||||
RandomizedTest.assumeFalse(LuceneTestCase.LEAVE_TEMPORARY);
|
||||
|
||||
Result r = JUnitCore.runClasses(Nested2.class);
|
||||
super.prevSysErr.println(r.getFailures().get(0).getMessage());
|
||||
Assert.assertEquals(1, r.getFailureCount());
|
||||
|
||||
Nested2.openFile.close();
|
||||
|
|
Loading…
Reference in New Issue