Apache Lucene open-source search software
test: mark horribly slow tests with @Nightly
Robert Muir6c66a9d0ea9b
diff --git a/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90DocValuesFormat.java b/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90DocValuesFormat.javaindex 16f9d06151d..489ee868139 100644--- a/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90DocValuesFormat.java+++ b/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90DocValuesFormat.java@@ -101,6 +101,8 @@ public class TestLucene90DocValuesFormat extends BaseCompressingDocValuesFormatT}}+ // TODO: incredibly slow+ @Nightlypublic void testSortedVariableLengthBigVsStoredFields() throws Exception {int numIterations = atLeast(1);for (int i = 0; i < numIterations; i++) {diff --git a/lucene/core/src/test/org/apache/lucene/index/TestNRTThreads.java b/lucene/core/src/test/org/apache/lucene/index/TestNRTThreads.javaindex 91bc8fa3f5d..e90a7e60892 100644--- a/lucene/core/src/test/org/apache/lucene/index/TestNRTThreads.java+++ b/lucene/core/src/test/org/apache/lucene/index/TestNRTThreads.java@@ -146,6 +146,8 @@ public class TestNRTThreads extends ThreadedIndexingAndSearchingTestCase {return newSearcher(r2);}+ // TODO: incredibly slow+ @Nightlypublic void testNRTThreads() throws Exception {runTest("TestNRTThreads");}diff --git a/lucene/core/src/test/org/apache/lucene/search/TestBlockMaxConjunction.java b/lucene/core/src/test/org/apache/lucene/search/TestBlockMaxConjunction.javaindex 7e70279f57d..88fc9170bb3 100644--- a/lucene/core/src/test/org/apache/lucene/search/TestBlockMaxConjunction.java+++ b/lucene/core/src/test/org/apache/lucene/search/TestBlockMaxConjunction.java@@ -51,6 +51,8 @@ public class TestBlockMaxConjunction extends LuceneTestCase {return query;}+ // TODO: incredibly slow+ @Nightlypublic void testRandom() throws IOException {Directory dir = newDirectory();IndexWriter w = new IndexWriter(dir, newIndexWriterConfig());diff --git a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.javaindex 24fed1275f8..1153a2dc970 100644--- a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java+++ b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java@@ -374,6 +374,8 @@ public class TestPointQueries extends LuceneTestCase {doTestRandomLongs(1000);}+ // TODO: incredibly slow+ @Nightlypublic void testRandomLongsBig() throws Exception {doTestRandomLongs(20_000);}diff --git a/lucene/core/src/test/org/apache/lucene/util/automaton/TestNFARunAutomaton.java b/lucene/core/src/test/org/apache/lucene/util/automaton/TestNFARunAutomaton.javaindex 338916f2f81..af314c74476 100644--- a/lucene/core/src/test/org/apache/lucene/util/automaton/TestNFARunAutomaton.java+++ b/lucene/core/src/test/org/apache/lucene/util/automaton/TestNFARunAutomaton.java@@ -119,6 +119,8 @@ public class TestNFARunAutomaton extends LuceneTestCase {}}+ // TODO: incredibly slow+ @Nightlypublic void testRandomAutomatonQuery() throws IOException {final int docNum = 50;final int automatonNum = 50;diff --git a/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.java b/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.javaindex ffee2b21497..08c6814a62f 100644--- a/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.java+++ b/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.java@@ -1109,6 +1109,8 @@ public class TestTaxonomyCombined extends FacetTestCase {return result;}+ // TODO: incredibly slow+ @Nightlypublic void testThousandsOfCategories() throws IOException {int roundSize = random().nextInt(2, 4);int size = random().nextInt(16384, 32768);diff --git a/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadScoreQuery.java b/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadScoreQuery.javaindex 60a829f4b9a..fc1bffd72ca 100644--- a/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadScoreQuery.java+++ b/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadScoreQuery.java@@ -150,6 +150,8 @@ public class TestPayloadScoreQuery extends LuceneTestCase {q, new AveragePayloadFunction(), new int[] {122, 222, 22}, new float[] {4.0f, 4.0f, 3.0f});}+ // TODO: incredibly slow+ @Nightly@Testpublic void testNestedNearQuery() throws Exception {diff --git a/lucene/sandbox/src/test/org/apache/lucene/sandbox/codecs/idversion/TestIDVersionPostingsFormat.java b/lucene/sandbox/src/test/org/apache/lucene/sandbox/codecs/idversion/TestIDVersionPostingsFormat.javaindex 892fa625066..c25be96bfb1 100644--- a/lucene/sandbox/src/test/org/apache/lucene/sandbox/codecs/idversion/TestIDVersionPostingsFormat.java+++ b/lucene/sandbox/src/test/org/apache/lucene/sandbox/codecs/idversion/TestIDVersionPostingsFormat.java@@ -676,6 +676,8 @@ public class TestIDVersionPostingsFormat extends LuceneTestCase {// Simulates optimistic concurrency in a distributed indexing app and confirms the latest version// always wins:+ // TODO: incredibly slow (maybe from the sleeping?)+ @Nightly@SuppressForbidden(reason = "Thread sleep")public void testGlobalVersions() throws Exception {Directory dir = newDirectory();diff --git a/lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestCoveringQuery.java b/lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestCoveringQuery.javaindex d7088b3f6da..bfdb0aaf229 100644--- a/lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestCoveringQuery.java+++ b/lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestCoveringQuery.java@@ -95,6 +95,8 @@ public class TestCoveringQuery extends LuceneTestCase {"CoveringQuery(queries=[bar, quux], minimumNumberMatch=long(field))", q.toString("foo"));}+ // TODO: incredibly slow+ @Nightlypublic void testRandom() throws IOException {Directory dir = newDirectory();IndexWriter w = new IndexWriter(dir, newIndexWriterConfig());diff --git a/lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestTermAutomatonQuery.java b/lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestTermAutomatonQuery.javaindex 80bebc00452..a4012178662 100644--- a/lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestTermAutomatonQuery.java+++ b/lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestTermAutomatonQuery.java@@ -420,6 +420,8 @@ public class TestTermAutomatonQuery extends LuceneTestCase {}}+ // TODO: incredibly slow+ @Nightlypublic void testRandom() throws Exception {int numDocs = atLeast(50);Directory dir = newDirectory();