Skip to content

Commit 6c66a9d

Browse files
committed
test: mark horribly slow tests with @nightly
1 parent c3ef12f commit 6c66a9d

File tree

10 files changed

+20
-0
lines changed

10 files changed

+20
-0
lines changed

lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90DocValuesFormat.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ public void testSortedSetVariableLengthManyVsStoredFields() throws Exception {
101101
}
102102
}
103103

104+
// TODO: incredibly slow
105+
@Nightly
104106
public void testSortedVariableLengthBigVsStoredFields() throws Exception {
105107
int numIterations = atLeast(1);
106108
for (int i = 0; i < numIterations; i++) {

lucene/core/src/test/org/apache/lucene/index/TestNRTThreads.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ protected IndexSearcher getFinalSearcher() throws Exception {
146146
return newSearcher(r2);
147147
}
148148

149+
// TODO: incredibly slow
150+
@Nightly
149151
public void testNRTThreads() throws Exception {
150152
runTest("TestNRTThreads");
151153
}

lucene/core/src/test/org/apache/lucene/search/TestBlockMaxConjunction.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ private Query maybeWrapTwoPhase(Query query) {
5151
return query;
5252
}
5353

54+
// TODO: incredibly slow
55+
@Nightly
5456
public void testRandom() throws IOException {
5557
Directory dir = newDirectory();
5658
IndexWriter w = new IndexWriter(dir, newIndexWriterConfig());

lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ public void testRandomLongsMedium() throws Exception {
374374
doTestRandomLongs(1000);
375375
}
376376

377+
// TODO: incredibly slow
378+
@Nightly
377379
public void testRandomLongsBig() throws Exception {
378380
doTestRandomLongs(20_000);
379381
}

lucene/core/src/test/org/apache/lucene/util/automaton/TestNFARunAutomaton.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ private void assertRandomAccessTransition(
119119
}
120120
}
121121

122+
// TODO: incredibly slow
123+
@Nightly
122124
public void testRandomAutomatonQuery() throws IOException {
123125
final int docNum = 50;
124126
final int automatonNum = 50;

lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,8 @@ private static String[][] manyCategories(int count, int roundSize) {
11091109
return result;
11101110
}
11111111

1112+
// TODO: incredibly slow
1113+
@Nightly
11121114
public void testThousandsOfCategories() throws IOException {
11131115
int roundSize = random().nextInt(2, 4);
11141116
int size = random().nextInt(16384, 32768);

lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadScoreQuery.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ public void testNearQuery() throws IOException {
150150
q, new AveragePayloadFunction(), new int[] {122, 222, 22}, new float[] {4.0f, 4.0f, 3.0f});
151151
}
152152

153+
// TODO: incredibly slow
154+
@Nightly
153155
@Test
154156
public void testNestedNearQuery() throws Exception {
155157

lucene/sandbox/src/test/org/apache/lucene/sandbox/codecs/idversion/TestIDVersionPostingsFormat.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,8 @@ public void testInvalidVersions2() throws IOException {
676676

677677
// Simulates optimistic concurrency in a distributed indexing app and confirms the latest version
678678
// always wins:
679+
// TODO: incredibly slow (maybe from the sleeping?)
680+
@Nightly
679681
@SuppressForbidden(reason = "Thread sleep")
680682
public void testGlobalVersions() throws Exception {
681683
Directory dir = newDirectory();

lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestCoveringQuery.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ public void testToString() {
9595
"CoveringQuery(queries=[bar, quux], minimumNumberMatch=long(field))", q.toString("foo"));
9696
}
9797

98+
// TODO: incredibly slow
99+
@Nightly
98100
public void testRandom() throws IOException {
99101
Directory dir = newDirectory();
100102
IndexWriter w = new IndexWriter(dir, newIndexWriterConfig());

lucene/sandbox/src/test/org/apache/lucene/sandbox/search/TestTermAutomatonQuery.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ public void reset() throws IOException {
420420
}
421421
}
422422

423+
// TODO: incredibly slow
424+
@Nightly
423425
public void testRandom() throws Exception {
424426
int numDocs = atLeast(50);
425427
Directory dir = newDirectory();

0 commit comments

Comments
 (0)