Skip to content

Commit 58306d4

Browse files
committed
fix the test case
1 parent 1077f51 commit 58306d4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sdk-integration-tests/src/test/java/software/amazon/lambda/durable/ParallelIntegrationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,8 @@ void testParallelWithFirstSuccessful_earlyTermination() {
10571057
assertTrue(result.completionStatus().isSucceeded());
10581058
// todo: the result is constructed when handling parallel completion,
10591059
// which might be earlier than the last branch is added.
1060-
assertTrue(3 >= result.size());
1060+
assertTrue(result.size() <= 3);
1061+
assertTrue(result.succeeded() <= result.size());
10611062
assertTrue(1 <= result.succeeded());
10621063

10631064
return "done";

0 commit comments

Comments
 (0)