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

flaky ParallelTestActionBuilderTest #1018

Open
bbortt opened this issue Oct 13, 2023 · 0 comments
Open

flaky ParallelTestActionBuilderTest #1018

bbortt opened this issue Oct 13, 2023 · 0 comments

Comments

@bbortt
Copy link
Collaborator

bbortt commented Oct 13, 2023

on the current 4.0.0-M2 the ParallelTestActionBuilderTest.testParallelBuilderNestedContainer test is flaky! sometimes it passes, sometimes it fails. always with the following error message:

Error:  Tests run: 99, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.032 s <<< FAILURE! - in TestSuite
Error:  testParallelBuilderNestedContainer(org.citrusframework.actions.dsl.ParallelTestActionBuilderTest)  Time elapsed: 0.212 s  <<< FAILURE!
java.lang.AssertionError: expected [class org.citrusframework.actions.EchoAction] but found [class org.citrusframework.container.Sequence]
	at org.citrusframework.actions.dsl.ParallelTestActionBuilderTest.testParallelBuilderNestedContainer(ParallelTestActionBuilderTest.java:79)

taken from an example build that passed on retry.

christophd added a commit that referenced this issue Nov 21, 2023
- Avoid racing condition when multiple test actions finish at the same time and assertion expects the wrong test action to finish first
christophd added a commit that referenced this issue Nov 21, 2023
- Avoid racing condition when multiple test actions finish at the same time and assertion expects the wrong test action to finish first
christophd added a commit that referenced this issue Apr 23, 2024
- Avoid racing condition when multiple test actions finish at the same time and assertion expects the wrong test action to finish first

(cherry picked from commit 586329c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant