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 flaky tests in HierarchicalForkJoinSubworkflowRerunSpec & HierarchicalForkJoinSubworkflowRestartSpec #257

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

jmigueprieto
Copy link
Contributor

@jmigueprieto jmigueprieto commented Sep 12, 2024

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • WHOSUSING.md
  • Other (please describe):

Changes in this PR

The assertions made by these tests were wrong causing them to be flaky. Example:

It failed in these recent runs:

And then passed:

The root cause of the issue is that a workflow forks a subworkflow task and an integration_task_2 task. The subworkflow also has an integration_task_2 task so there are NO guarantees on which integration_task_2 will be polled and completed first.

Screenshot 2024-09-11 at 20 23 04

…on which integration_task_2 will be polled and completed first.
@jmigueprieto jmigueprieto merged commit 927e93d into main Sep 12, 2024
8 checks passed
@jmigueprieto jmigueprieto deleted the fix/flaky-rerun-restart-tests branch September 12, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants