Skip to content

Apache Lucene open-source search software

LUCENE-6240: ban @Seed in tests

Robert Muir1e0344cd30e3
diff --git a/lucene/tools/forbiddenApis/tests.txt b/lucene/tools/forbiddenApis/tests.txt
index 506dc7530cf..8e5724cd62c 100644
--- a/lucene/tools/forbiddenApis/tests.txt
+++ b/lucene/tools/forbiddenApis/tests.txt
@@ -20,3 +20,5 @@ java.util.Random#<init>() @ Use RandomizedRunner's random instead
# TODO: fix tests that do this!
#java.lang.System#currentTimeMillis() @ Don't depend on wall clock times
#java.lang.System#nanoTime() @ Don't depend on wall clock times
+
+com.carrotsearch.randomizedtesting.annotations.Seed @ Don't commit hardcoded seeds