Package org.elasticsearch.test
Class TaskAssertions
java.lang.Object
org.elasticsearch.test.TaskAssertions
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertAllCancellableTasksAreCancelled
(String actionPrefix) static void
assertAllCancellableTasksAreCancelled
(String actionPrefix, String opaqueId) static void
assertAllTasksHaveFinished
(String actionPrefix) static void
awaitTaskWithPrefix
(String actionPrefix) static void
awaitTaskWithPrefixOnMaster
(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
-