Skip to content

Commit 103e558

Browse files
committed
test: further limit the concurrency of WPTRunner for RISC-V
Even when the concurrency of WPTRunner is limited to 10, flaky WPT tests are still observed on RISC-V with Sv39. For example, test/wpt/test-compression.js failed in https://github.com/riscv-forks/node-riscv/actions/runs/27756747452 and https://github.com/riscv-forks/node-riscv/actions/runs/27544719447, where the cause of the failure is a failing `mmap` of roughly 8GiB: [pid 954955] mmap(NULL, 8589996032, PROT_NONE, ... Further limit the concurrency of WPTRunner to fix flaky tests. See #60591 for the reason of limiting the WPT test concurrency on RISC-V. Signed-off-by: Levi Zim <rsworktech@outlook.com>
1 parent e3a1c12 commit 103e558

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/common/wpt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class WPTRunner {
563563
// memories(27 from a fresh node repl). Limit the concurrency to avoid
564564
// creating too many wasm memories that would fail.
565565
if (process.arch === 'riscv64' || process.arch === 'riscv32') {
566-
concurrency = Math.min(10, concurrency);
566+
concurrency = Math.min(5, concurrency);
567567
}
568568

569569
this.path = path;

0 commit comments

Comments
 (0)