Skip to content

test: fix flaky integration test and dashboard countdown test#4

Merged
nocoo merged 2 commits intomainfrom
fix/ci-repair
Apr 16, 2026
Merged

test: fix flaky integration test and dashboard countdown test#4
nocoo merged 2 commits intomainfrom
fix/ci-repair

Conversation

@nocoo
Copy link
Copy Markdown
Owner

@nocoo nocoo commented Apr 16, 2026

Fix two test failures on main:\n- Swift: race condition in monitor cleanup integration test\n- Dashboard: upcoming tasks countdown test timing issue

nocoo added 2 commits April 16, 2026 08:11
Use a longer-running command (sleep 2) and poll for running state
instead of asserting immediately after execute(), which raced with
the background process completing before the assertion.
Use wildcard cron schedule (hour: *, minute: */10) and real-time
Date() instead of fixed mock time, since calculateUpcomingTasks
internally uses new Date() regardless of the timeProvider.
@nocoo nocoo merged commit 9afd1b0 into main Apr 16, 2026
2 checks passed
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