mirror of https://github.com/apache/lucene.git
better fail msg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423532 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
68637790e0
commit
0a33ab46f7
|
@ -204,12 +204,15 @@ public class SyncSliceTest extends AbstractFullDistribZkTestBase {
|
||||||
|
|
||||||
commit();
|
commit();
|
||||||
|
|
||||||
|
Thread.sleep(100);
|
||||||
|
|
||||||
waitForRecoveriesToFinish(false);
|
waitForRecoveriesToFinish(false);
|
||||||
|
|
||||||
// shard should be inconsistent
|
// shard should be inconsistent
|
||||||
shardFailMessage = checkShardConsistency("shard1", true);
|
shardFailMessage = checkShardConsistency("shard1", true);
|
||||||
assertNotNull(shardFailMessage);
|
assertNotNull(
|
||||||
|
"shard1 shoul have just been set up to be inconsistent - but it's still consistent",
|
||||||
|
shardFailMessage);
|
||||||
|
|
||||||
jetties = new HashSet<CloudJettyRunner>();
|
jetties = new HashSet<CloudJettyRunner>();
|
||||||
jetties.addAll(shardToJetty.get("shard1"));
|
jetties.addAll(shardToJetty.get("shard1"));
|
||||||
|
|
Loading…
Reference in New Issue