Skip to content

Commit 1ad4633

Browse files
committed
Add message to search task fail
1 parent b33b5bb commit 1ad4633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityRestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public void testTaskCancellation() throws Exception {
320320
);
321321
selectTasksWithOpaqueId(responseMap, asyncSearchOpaqueId, task -> {
322322
if (task.get("action") instanceof String action && action.contains("indices:data/read/search")) {
323-
fail();
323+
fail("there are still search tasks running");
324324
}
325325
});
326326
} catch (ResponseException e) {

0 commit comments

Comments
 (0)