BAEL-7001: small fix
This commit is contained in:
+2
-1
@@ -41,7 +41,8 @@ class RetryCompletableFutureUnitTest {
|
||||
|
||||
CompletableFuture<Integer> result = retryTask(codeToRun, 3);
|
||||
|
||||
assertThatThrownBy(result::join).isInstanceOf(CompletionException.class)
|
||||
assertThatThrownBy(result::join)
|
||||
.isInstanceOf(CompletionException.class)
|
||||
.hasMessageContaining("IllegalStateException: Task failed after 3 attempts");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user