mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 09:36:46 +00:00
more informative error msg in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403056 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
245133a3bd
commit
2343f0d06a
@ -151,13 +151,13 @@ public abstract class AbstractDistribZkTestBase extends BaseDistributedSearchTes
|
||||
if (!sawLiveRecovering) {
|
||||
if (verbose) System.out.println("no one is recoverying");
|
||||
} else {
|
||||
if (verbose) System.out
|
||||
.println("Gave up waiting for recovery to finish..");
|
||||
if (failOnTimeout) {
|
||||
fail("There are still nodes recoverying");
|
||||
fail("There are still nodes recoverying - waited for " + timeoutSeconds + " seconds");
|
||||
printLayout();
|
||||
return;
|
||||
}
|
||||
if (verbose) System.out
|
||||
.println("gave up waiting for recovery to finish..");
|
||||
}
|
||||
cont = false;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user