elasticsearch/qa/smoke-test-http
Luca Cavanna 3eae13fb1c
[TEST] wait for search task to be cancelled in SearchRestCancellationIT (#45978)
SearchRestCancellationIT aborts an http request, and then checks that
the corresponding search task has been cancelled on the server-side.
There are no guarantees that the task has already been marked cancelled
after the `cancel` calls returns, and there is no easy wait for that.

This commit introduces an assertBusy to try and wait for the search task
to be marked cancelled.

Closes #45911
2019-08-26 21:24:47 +02:00
..
src/test/java/org/elasticsearch/http [TEST] wait for search task to be cancelled in SearchRestCancellationIT (#45978) 2019-08-26 21:24:47 +02:00
build.gradle Testclusters: Convert additional projects (#43625) 2019-06-28 16:38:17 +03:00