Skip to content

Fix browser.test_audioworklet_worker instability on Chrome#26841

Open
juj wants to merge 1 commit intoemscripten-core:mainfrom
juj:fix_chrome_worker_start_hang
Open

Fix browser.test_audioworklet_worker instability on Chrome#26841
juj wants to merge 1 commit intoemscripten-core:mainfrom
juj:fix_chrome_worker_start_hang

Conversation

@juj
Copy link
Copy Markdown
Collaborator

@juj juj commented May 2, 2026

Fix browser.test_audioworklet_worker instability on Chrome.

Chrome has some kind of network throttling mechanism, which prevents the Wasm Worker from being able to start up in the test browser.test_audioworklet_worker.

There is no reason to keep fetching /check every 10 milliseconds (except for performance). Reduce the fetch interval to a more modest rate of 5 fetches per second.

The browser test suite has ~150 tests, so this can slow down the test harness by at most 30 seconds.

@juj juj force-pushed the fix_chrome_worker_start_hang branch from 1460e63 to d2b0d11 Compare May 2, 2026 10:11
…s some kind of network throttling mechanism, which prevents the Wasm Worker from being able to start up in the test browser.test_audioworklet_worker. There is no reason to keep fetching /check every 10 milliseconds (except for performance). Reduce the fetch interval to a much more modest rate of 5 fetches per second. The browser test suite has ~150 tests, so this can slow down the test harness by at most 30 seconds.
@juj juj force-pushed the fix_chrome_worker_start_hang branch from d2b0d11 to 7ae80a6 Compare May 2, 2026 10:13
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