[temp-fix] disabled timewarp mode for WatchCrudTests

something seems to be broken... either in the integration test infra or somewhere else.. .investigation required

Original commit: elastic/x-pack-elasticsearch@c27bc41ef4
This commit is contained in:
uboness 2015-04-10 15:17:24 +02:00
parent 92c8565af1
commit 303616b415
2 changed files with 8 additions and 3 deletions

View File

@ -136,7 +136,7 @@ public abstract class AbstractWatcherIntegrationTests extends ElasticsearchInteg
@After
public void _cleanup() throws Exception {
// Clear all internal watcher state for the next test method:
logger.info("[{}#{}]: clearing watches", getTestClass().getSimpleName(), getTestName());
logger.info("[{}#{}]: clearing watcher state", getTestClass().getSimpleName(), getTestName());
stopWatcher();
}
@ -452,12 +452,12 @@ public abstract class AbstractWatcherIntegrationTests extends ElasticsearchInteg
protected void startWatcher() throws Exception {
watcherClient().prepareWatchService().start().get();
ensureWatcherStarted();
ensureWatcherStarted(false);
}
protected void stopWatcher() throws Exception {
watcherClient().prepareWatchService().stop().get();
ensureWatcherStopped();
ensureWatcherStopped(false);
}
protected static InternalTestCluster internalTestCluster() {

View File

@ -30,6 +30,11 @@ import static org.hamcrest.Matchers.*;
*/
public class WatchCrudTests extends AbstractWatcherIntegrationTests {
@Override
protected boolean timeWarped() {
return true;
}
@Test @Repeat(iterations = 10)
public void testPut() throws Exception {
ensureWatcherStarted();