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

Resolve flaky EmbeddedSubProcessConcurrencyTest #13498

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

remcowesterhoud
Copy link
Contributor

@remcowesterhoud remcowesterhoud commented Jul 14, 2023

Description

This test contained a race condition as it was depending on a specific timing of message correlations. This commit changes this test to use error events instead. The behavior is the same, but this should make it deterministic.

Same changes as #13497. This PR is for main, stable/8.2 and stable/8.1. The test case was moved at one point, so the other PR is for stable/8.0.

Related issues

closes #11844

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix to the last two minor versions. You can trigger a backport by assigning labels (e.g. backport stable/1.3) to the PR, in case that fails you need to create backports manually.

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually
  • The change has been verified by a QA run
  • The impact of the changes is verified by a benchmark

Documentation:

  • The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.)
  • If the PR changes how BPMN processes are validated (e.g. support new BPMN element) then the Camunda modeling team should be informed to adjust the BPMN linting.

Other teams:
If the change impacts another team an issue has been created for this team, explaining what they need to do to support this change.

Please refer to our review guidelines.

This test contained a race condition as it was depending on a specific
timing of message correlations. This commit changes this test to use
error events instead. The behavior is the same, but this should make it
deterministic.
Copy link
Member

@korthout korthout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already approved these changes in #13497

LGTM 👍

@remcowesterhoud
Copy link
Contributor Author

bors merge

@zeebe-bors-camunda
Copy link
Contributor

Build succeeded:

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit af7e735 into main Jul 14, 2023
34 checks passed
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the 11844_flaky_test_main branch July 14, 2023 13:28
@backport-action
Copy link
Collaborator

Successfully created backport PR for stable/8.1:

@backport-action
Copy link
Collaborator

Successfully created backport PR for stable/8.2:

zeebe-bors-camunda bot added a commit that referenced this pull request Jul 14, 2023
13500: [Backport stable/8.1] Resolve flaky EmbeddedSubProcessConcurrencyTest r=remcowesterhoud a=backport-action

# Description
Backport of #13498 to `stable/8.1`.

relates to #11844

Co-authored-by: Remco Westerhoud <remco@westerhoud.nl>
zeebe-bors-camunda bot added a commit that referenced this pull request Jul 14, 2023
13501: [Backport stable/8.2] Resolve flaky EmbeddedSubProcessConcurrencyTest r=remcowesterhoud a=backport-action

# Description
Backport of #13498 to `stable/8.2`.

relates to #11844

Co-authored-by: Remco Westerhoud <remco@westerhoud.nl>
@megglos megglos added the version:8.2.9 Marks an issue as being completely or in parts released in 8.2.9 label Jul 26, 2023
@abbasadel abbasadel added the version:8.1.15 Marks an issue as being completely or in parts released in 8.1.15 label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport stable/8.2 Backport a pull request to 8.2.x version:8.1.15 Marks an issue as being completely or in parts released in 8.1.15 version:8.2.9 Marks an issue as being completely or in parts released in 8.2.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unstable test EmbeddedSubProcessTest.shouldNotTriggerBoundaryEventWhenFlowscopeIsInterrupted
5 participants