[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:
parent
92c8565af1
commit
303616b415
|
@ -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() {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue