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:
Mark Robert Miller 2013-02-27 04:40:20 +00:00
parent e77db49abc
commit f3be2a55fa
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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 {