Skip to content

Allow more time for the timer due date in BoundaryTimerEventTest - #4326

Open
360608 wants to merge 1 commit into
flowable:mainfrom
360608:CP-fix-timer-test-flake
Open

360608 wants to merge 1 commit into
flowable:mainfrom
360608:CP-fix-timer-test-flake

Conversation

@360608

@360608 360608 commented Oct 30, 2026

Copy link
Copy Markdown

Three tests in BoundaryTimerEventTest (including testRescheduleRepeatBoundaryTimer) assert that the timer due date is within 100 ms of a timestamp taken before the process is started. That only holds when process start-up is very fast; it failed once for me on a loaded machine (isLessThan(100)) and passed on rerun. The tolerance is now 5 seconds. The tests still check that the timer is due about one hour out.

This is separate from the daylight saving test failures, which are handled in #4316.

BoundaryTimerEventTest passes (25 tests).

Three tests asserted that the timer due date is within 100 ms of a timestamp taken before the process start, which fails on a loaded machine. Allow 5 seconds.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@360608

360608 commented Oct 30, 2026

Copy link
Copy Markdown
Author

@dbmalkovsky @filiphr @tijsrademakers @jbarrez - could you please review this small test change? Three tests in BoundaryTimerEventTest assert the timer due date is within 100 ms of a timestamp taken before the process start, which fails on a loaded machine; the tolerance is now 5 seconds. Thank you!

This branch has not been deployed

No deployments
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