SOLR-5437

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2013-11-14 05:51:59 +00:00
parent 978a849f61
commit 2033638560
1 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,8 @@ public class DeleteReplicaTest extends AbstractFullDistribZkTestBase {
// final Slice shard1 = testcoll.getSlices().iterator().next();
// if(!shard1.getState().equals(Slice.ACTIVE)) fail("shard is not active");
// for (Replica replica : shard1.getReplicas()) if("active".equals(replica.getStr("state"))) replica1 =replica;
if(replica1 == null) fail("no active relicas found");
if(replica1 == null) fail("no active replicas found");
Thread.sleep(2500);//remove this later.not sure if the clusterstate is not propagated and that is why the tests are failing.SOLR-5437
removeAndWaitForReplicaGone(COLL_NAME, client, replica1, shard1.getName());
client.shutdown();