Skip to content

Tweak tests to avoid depending on nondeterministic yield behavior - #692

Merged
lukewagner merged 1 commit into
mainfrom
fix-tests
Aug 12, 2026
Merged

Tweak tests to avoid depending on nondeterministic yield behavior#692
lukewagner merged 1 commit into
mainfrom
fix-tests

Conversation

@lukewagner

Copy link
Copy Markdown
Member

Although Wasmtime doesn't do it, the spec currently allows hosts to nondeterministically ignore a thread.yield (or callback returning YIELD) which would break various tests if hosts started doing it, so this PR fixes those tests.

@lukewagner
lukewagner merged commit 8b5c200 into main Aug 12, 2026
2 checks passed
@lukewagner
lukewagner deleted the fix-tests branch August 12, 2026 19:53
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