Skip to content

test(wdt): make feed timing deterministic (#3978) - #4082

Merged
zackees merged 1 commit into
masterfrom
fix/3978-deterministic-watchdog-test
Aug 31, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/3978-deterministic-watchdog-test

Conversation

@zackees

@zackees zackees commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary:

  • add a stub-only injectable watchdog clock with the real steady clock as the default
  • make the feed-before-timeout regression advance deterministic mock time
  • preserve worker-thread observation without allowing scheduler overshoot to create false failures

Validation:

  • bash test watchdog (repeated focused passes)
  • bash test --cpp (284 unit tests and 84 examples passed)
  • bash lint
  • git diff --check

Closes #3978

@zackees
zackees merged commit a8e3b19 into master Aug 31, 2026
30 checks passed
@zackees
zackees deleted the fix/3978-deterministic-watchdog-test branch August 31, 2026 04:19
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Aug 31, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

test(wdt): watchdog feed test is timing-flaky on loaded CI runners

1 participant