Fixing flaky test failing in multiple PRs #3747
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is appearing consistently in multiple PRs after merging issue 1522
Executing work item WorkItem 5ee6fb6f-a098-44db-b345-645d9ceb3671 [name=Human Task, state=1, processInstanceId=4239d505-5136-431a-85bb-e69ee7f4d2c7, parameters{UNIQUE_TASK_ID=_5, NodeName=Two}]
2024-10-22T15:29:09.0028304Z [ERROR] Tests run: 49, Failures: 1, Errors: 0, Skipped: 5, Time elapsed: 5.791 s <<< FAILURE! -- in org.jbpm.bpmn2.StandaloneBPMNProcessTest
2024-10-22T15:29:09.0033454Z [ERROR] org.jbpm.bpmn2.StandaloneBPMNProcessTest.testEventBasedSplit2 -- Time elapsed: 0.532 s <<< FAILURE!
2024-10-22T15:29:09.0034881Z org.opentest4j.AssertionFailedError:
2024-10-22T15:29:09.0035522Z
2024-10-22T15:29:09.0035868Z expected: 2
2024-10-22T15:29:09.0036528Z but was: 1
2024-10-22T15:29:09.0037477Z at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2024-10-22T15:29:09.0039157Z at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
2024-10-22T15:29:09.0041121Z at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2024-10-22T15:29:09.0043171Z at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
2024-10-22T15:29:09.0044694Z at org.jbpm.bpmn2.StandaloneBPMNProcessTest.testEventBasedSplit2(StandaloneBPMNProcessTest.java:405)
2024-10-22T15:29:09.0046062Z at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2024-10-22T15:29:09.0047045Z at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
2024-10-22T15:29:09.0048211Z at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)