Skip to content

Apache Lucene open-source search software

LUCENE-10482, LUCENE-10521: hrmph, put the @Ignore in the right place

Mike McCandlessfb76d0b104ef
diff --git a/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAlwaysRefreshDirectoryTaxonomyReader.java b/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAlwaysRefreshDirectoryTaxonomyReader.java
index 58dfa64c314..f7226be7a93 100644
--- a/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAlwaysRefreshDirectoryTaxonomyReader.java
+++ b/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAlwaysRefreshDirectoryTaxonomyReader.java
@@ -50,7 +50,6 @@ public class TestAlwaysRefreshDirectoryTaxonomyReader extends FacetTestCase {
* <p>It does not check whether the private taxoArrays were actually recreated or no. We are
* (correctly) hiding away that complexity away from the user.
*/
- @Ignore("LUCENE-10482: need to make this work on Windows too")
private <T extends Throwable> void testAlwaysRefreshDirectoryTaxonomyReader(
Function<Directory, DirectoryTaxonomyReader> dtrProducer, Class<T> exceptionType)
throws IOException {
@@ -125,6 +124,7 @@ public class TestAlwaysRefreshDirectoryTaxonomyReader extends FacetTestCase {
IOUtils.close(commit1, dir1);
}
+ @Ignore("LUCENE-10482: need to make this work on Windows too")
public void testAlwaysRefreshDirectoryTaxonomyReader() throws IOException {
testAlwaysRefreshDirectoryTaxonomyReader(
(dir) -> {