mirror of https://github.com/apache/lucene.git
tests: tweak syncslicetest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e77db49abc
commit
f3be2a55fa
|
@ -53,10 +53,6 @@ public class SyncSliceTest extends AbstractFullDistribZkTestBase {
|
|||
|
||||
@BeforeClass
|
||||
public static void beforeSuperClass() throws Exception {
|
||||
// TODO: we use an fs based dir because something
|
||||
// like a ram dir will not recovery correctly right now
|
||||
// due to tran log persisting across restarts
|
||||
useFactory(null);
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
|
@ -271,7 +267,7 @@ public class SyncSliceTest extends AbstractFullDistribZkTestBase {
|
|||
shardFailMessage = pollConsistency(shardFailMessage, 0);
|
||||
shardFailMessage = pollConsistency(shardFailMessage, 3000);
|
||||
shardFailMessage = pollConsistency(shardFailMessage, 5000);
|
||||
shardFailMessage = pollConsistency(shardFailMessage, 8000);
|
||||
shardFailMessage = pollConsistency(shardFailMessage, 15000);
|
||||
|
||||
return shardFailMessage;
|
||||
}
|
||||
|
|
|
@ -133,6 +133,10 @@ public abstract class AbstractFullDistribZkTestBase extends AbstractDistribZkTes
|
|||
} else if (!url.equals(other.url)) return false;
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CloudJettyRunner [url=" + url + "]";
|
||||
}
|
||||
}
|
||||
|
||||
static class CloudSolrServerClient {
|
||||
|
|
Loading…
Reference in New Issue