File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ public void testWatcher() throws Exception {
233
233
}
234
234
235
235
@ SuppressWarnings ("unchecked" )
236
- @ AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/77026" )
237
236
public void testWatcherWithApiKey () throws Exception {
238
237
assumeTrue ("API key is available since 6.7.0" , getOldClusterVersion ().onOrAfter (Version .V_6_7_0 ));
239
238
if (isRunningAgainstOldCluster ()) {
@@ -259,7 +258,7 @@ public void testWatcherWithApiKey() throws Exception {
259
258
final Map <String , Object > getWatchStatusResponse = entityAsMap (client ().performRequest (getRequest ));
260
259
final Map <String , Object > status = (Map <String , Object >) getWatchStatusResponse .get ("status" );
261
260
assertEquals ("executed" , status .get ("execution_state" ));
262
- });
261
+ }, 30 , TimeUnit . SECONDS );
263
262
264
263
} else {
265
264
logger .info ("testing against {}" , getOldClusterVersion ());
@@ -299,7 +298,7 @@ public void testWatcherWithApiKey() throws Exception {
299
298
versionIncreased .get () && executed .get (),
300
299
is (true )
301
300
);
302
- });
301
+ }, 30 , TimeUnit . SECONDS );
303
302
} finally {
304
303
stopWatcher ();
305
304
}
You can’t perform that action at this time.
0 commit comments