Expected Behavior
All branches should be included in the ParallelResult no matter they're executed or not.
Actual Behavior
Some parallel branches may not be included in the ParallelResult when MIN_SUCCESSFUL_REACHED is returned.
Steps to Reproduce
run test case testParallelWithFirstSuccessful_earlyTermination. Its result may not include some branches sometimes.
|
// todo: the result is constructed when handling parallel completion, |
|
// which might be earlier than the last branch is added. |
|
assertTrue(result.size() <= 3); |
SDK Version
1.0.0
Java Version
17
Is this a regression?
No
Last Working Version
No response
Additional Context
No response
Expected Behavior
All branches should be included in the ParallelResult no matter they're executed or not.
Actual Behavior
Some parallel branches may not be included in the
ParallelResultwhenMIN_SUCCESSFUL_REACHEDis returned.Steps to Reproduce
run test case
testParallelWithFirstSuccessful_earlyTermination. Its result may not include some branches sometimes.aws-durable-execution-sdk-java/sdk-integration-tests/src/test/java/software/amazon/lambda/durable/ParallelIntegrationTest.java
Lines 1058 to 1060 in a89bc26
SDK Version
1.0.0
Java Version
17
Is this a regression?
No
Last Working Version
No response
Additional Context
No response