mirror of https://github.com/apache/lucene.git
add warning if you use tests.iter > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139513 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3c74ec78b
commit
bee0f1fb58
|
@ -633,6 +633,11 @@ public abstract class LuceneTestCase extends Assert {
|
|||
for (Thread t : Thread.getAllStackTraces().keySet()) {
|
||||
rogueThreads.put(t, true);
|
||||
}
|
||||
|
||||
if (TEST_ITER > 1) {
|
||||
System.out.println("WARNING: you are using -Dtests.iter=n where n > 1, not all tests support this option.");
|
||||
System.out.println("Some may crash or fail: this is not a bug.");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue