Skip to content

test: make finder tests deterministic instead of sleeping - #374

Open
sand4rt wants to merge 2 commits into
FylerOrg:mainfrom
sand4rt:test/deterministic-finder-scan
Open

sand4rt wants to merge 2 commits into
FylerOrg:mainfrom
sand4rt:test/deterministic-finder-scan

Conversation

@sand4rt

@sand4rt sand4rt commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Run the libuv fs calls used by the file scheme synchronously in the test init, flush queued scheduled callbacks before screenshots, and drop the fixed 10ms sleeps that made screenshots racy on slow runners.

Run the libuv fs calls used by the file scheme synchronously in the
test init, flush queued scheduled callbacks before screenshots, and
drop the fixed 10ms sleeps that made screenshots racy on slow runners.
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