Skip to content

Fix race condition in TimerTest helper methods - #6256

Merged
tsegismont merged 1 commit into
eclipse-vertx:masterfrom
tsegismont:fix-timer-test-failure
Jul 22, 2026
Merged

Fix race condition in TimerTest helper methods#6256
tsegismont merged 1 commit into
eclipse-vertx:masterfrom
tsegismont:fix-timer-test-failure

Conversation

@tsegismont

Copy link
Copy Markdown
Member

Timer handlers could execute before id.set() completed, causing intermittent "expected:<-1> but was:<0>" assertion failures.

Timer handlers could execute before id.set() completed, causing intermittent "expected:<-1> but was:<0>" assertion failures.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont
tsegismont merged commit 3ef9c8f into eclipse-vertx:master Jul 22, 2026
8 checks passed
@tsegismont
tsegismont deleted the fix-timer-test-failure branch July 22, 2026 13:07
tsegismont added a commit that referenced this pull request Jul 22, 2026
Timer handlers could execute before id.set() completed, causing intermittent "expected:<-1> but was:<0>" assertion failures.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
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.

1 participant