Closed ana-vinogradova-camunda closed 1 month ago
ZPA triage
I was able to reproduce the failure locally.
The failure is happening because of this lines. I think the problem is a race condition with the time of the clock and the PendingMessageSubscriptionChecker
Unassigned due to unavailability
ZPA mob programming results:
SimpleProcessingScheduleService#runDelayed
method for scheduling the checker class, we introduce a flexible delay that makes the test flaky. By replacing the method above with the SimpleProcessingScheduleService#runAt
method, we believe the flakiness will be removed since the latter introduces a fixed timestamp for the task execution. The following is our attempt to confirm our hypothesis.
Summary
Failures
Example assertion failure
Logs
Link to the build: https://github.com/camunda/zeebe/actions/runs/8786935713/job/24110951937?pr=17646
Logs: 1_Unit tests.txt