Skip to content

Commit 8d5ea24

Browse files
authored
Re-enable SingleNodeTests.testThatLoadingWithNonExistingIndexWorks (#82118) (#82215)
The PR re-enables a test that has been muted for a while. A few improvements have been made that are suspected to allow this test to pass now. Also, the timeout has been bumped up to help with the stability of this test. closes #54096
1 parent 035478d commit 8d5ea24

File tree

1 file changed

+1
-2
lines changed
  • x-pack/plugin/watcher/src/internalClusterTest/java/org/elasticsearch/xpack/watcher/test/integration

1 file changed

+1
-2
lines changed

x-pack/plugin/watcher/src/internalClusterTest/java/org/elasticsearch/xpack/watcher/test/integration/SingleNodeTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ protected boolean timeWarped() {
3939
// this is the standard setup when starting watcher in a regular cluster
4040
// the index does not exist, a watch gets added
4141
// the watch should be executed properly, despite the index being created and the cluster state listener being reloaded
42-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/54096")
4342
public void testThatLoadingWithNonExistingIndexWorks() throws Exception {
4443
stopWatcher();
4544
ClusterStateResponse clusterStateResponse = client().admin().cluster().prepareState().get();
@@ -63,7 +62,7 @@ public void testThatLoadingWithNonExistingIndexWorks() throws Exception {
6362
client().admin().indices().prepareRefresh(".watcher-history*");
6463
SearchResponse searchResponse = client().prepareSearch(".watcher-history*").setSize(0).get();
6564
assertThat(searchResponse.getHits().getTotalHits().value, is(greaterThanOrEqualTo(1L)));
66-
}, 5, TimeUnit.SECONDS);
65+
}, 30, TimeUnit.SECONDS);
6766
}
6867

6968
}

0 commit comments

Comments
 (0)