Skip to content

[Bug]: some parallel branches may not be included in the ParallelResult when MIN_SUCCESSFUL_REACHED is returned #332

@zhongkechen

Description

@zhongkechen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions