Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-6157: re-enable this test to see if it runs consistently on Jenkins (beast passed 20/20)

Timothy Potter1979ac573d5a
diff --git a/solr/core/src/test/org/apache/solr/cloud/ReplicationFactorTest.java b/solr/core/src/test/org/apache/solr/cloud/ReplicationFactorTest.java
index 0dd9e1cff55..94d6a18b11c 100644
--- a/solr/core/src/test/org/apache/solr/cloud/ReplicationFactorTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/ReplicationFactorTest.java
@@ -43,13 +43,14 @@ import org.junit.Before;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+//@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/SOLR-6157")
+
/**
* Tests a client application's ability to get replication factor
* information back from the cluster after an add or update.
*/
@Slow
@SuppressSSL(bugUrl = "https://issues.apache.org/jira/browse/SOLR-5776")
-@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/SOLR-6157")
public class ReplicationFactorTest extends AbstractFullDistribZkTestBase {
private static final transient Logger log =
@@ -140,6 +141,8 @@ public class ReplicationFactorTest extends AbstractFullDistribZkTestBase {
log.info("Testing replication factor handling for repfacttest_c8n_1x3");
testRf3();
+ waitForThingsToLevelOut(30000);
+
// test handling when not using direct updates
log.info("Now testing replication factor handling for repfacttest_c8n_2x2");
testRf2NotUsingDirectUpdates();