Package org.elasticsearch.test
Class TaskAssertions
java.lang.Object
org.elasticsearch.test.TaskAssertions
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertAllCancellableTasksAreCancelled(String actionPrefix) static voidassertAllCancellableTasksAreCancelled(String actionPrefix, String opaqueId) static voidassertAllTasksHaveFinished(String actionPrefix) static voidawaitTaskWithPrefix(String actionPrefix) static voidawaitTaskWithPrefixOnMaster(String actionPrefix)
-
Method Details
-
awaitTaskWithPrefix
- Throws:
Exception
-
awaitTaskWithPrefixOnMaster
- Throws:
Exception
-
assertAllCancellableTasksAreCancelled
public static void assertAllCancellableTasksAreCancelled(String actionPrefix, @Nullable String opaqueId) throws Exception - Throws:
Exception
-
assertAllCancellableTasksAreCancelled
- Throws:
Exception
-
assertAllTasksHaveFinished
- Throws:
Exception
-