Apache Solr open-source search software
LUCENE-6957: rename test case so we still run the same test name from the base class
Michael McCandlesscc1ac528c14c
diff --git a/lucene/core/src/test/org/apache/lucene/store/TestNRTCachingDirectory.java b/lucene/core/src/test/org/apache/lucene/store/TestNRTCachingDirectory.javaindex b964f40d95e..76527b77217 100644--- a/lucene/core/src/test/org/apache/lucene/store/TestNRTCachingDirectory.java+++ b/lucene/core/src/test/org/apache/lucene/store/TestNRTCachingDirectory.java@@ -123,7 +123,7 @@ public class TestNRTCachingDirectory extends BaseDirectoryTestCase {cachedFSDir.close();}- public void testCreateTempOutput() throws Exception {+ public void testCreateTempOutputSameName() throws Exception {Directory fsDir = FSDirectory.open(createTempDir("verify"));NRTCachingDirectory nrtDir = new NRTCachingDirectory(fsDir, 2.0, 25.0);diff --git a/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java b/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.javaindex 3d2fad200db..78dce031ee7 100644--- a/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java+++ b/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java@@ -1148,7 +1148,7 @@ public abstract class BaseDirectoryTestCase extends LuceneTestCase {dir.close(); // close again}- public void testDoubleCloseOutput() throws Throwable {+ public final void testDoubleCloseOutput() throws Throwable {Directory dir = getDirectory(createTempDir());IndexOutput out = dir.createOutput("foobar", newIOContext(random()));out.writeString("testing");