Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test server publishing the Completion of child workflows before the Start sometimes #1289

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

Spikhalskiy
Copy link
Contributor

@Spikhalskiy Spikhalskiy commented Jun 27, 2022

Fix use of thread in test server leading to parent workflow observing the completion of child workflows before the start in some cases.

Closes #1288
Closes #814

@Spikhalskiy Spikhalskiy force-pushed the issue-1288 branch 2 times, most recently from 21cc5bf to 67012d7 Compare June 27, 2022 20:16
@Spikhalskiy Spikhalskiy merged commit aee11a8 into temporalio:master Jun 27, 2022
@Spikhalskiy Spikhalskiy deleted the issue-1288 branch June 27, 2022 21:44
natemort added a commit to natemort/cadence-java-client that referenced this pull request Oct 25, 2024
By reporting child workflow started asynchronously we can observe a child workflow attempting to complete prior to its state machine registering that it started. This is an invalid state transition and causes test failures.

See temporalio/sdk-java#1289 , we have the same test case still and it has similarly been flakey.
natemort added a commit to natemort/cadence-java-client that referenced this pull request Oct 28, 2024
By reporting child workflow started asynchronously we can observe a child workflow attempting to complete prior to its state machine registering that it started. This is an invalid state transition and causes test failures.

See temporalio/sdk-java#1289 , we have the same test case still and it has similarly been flakey.
natemort added a commit to natemort/cadence-java-client that referenced this pull request Oct 29, 2024
By reporting child workflow started asynchronously we can observe a child workflow attempting to complete prior to its state machine registering that it started. This is an invalid state transition and causes test failures.

See temporalio/sdk-java#1289 , we have the same test case still and it has similarly been flakey.
natemort added a commit to cadence-workflow/cadence-java-client that referenced this pull request Oct 29, 2024
By reporting child workflow started asynchronously we can observe a child workflow attempting to complete prior to its state machine registering that it started. This is an invalid state transition and causes test failures.

See temporalio/sdk-java#1289 , we have the same test case still and it has similarly been flakey.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants