From 82dc306c424dac9b774aa6dc0f7ca6941f8f6c71 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sat, 24 Feb 2024 01:41:38 +0100 Subject: [PATCH] test: deflake test-fs-read-stream-concurrent-read Reduce the number of stream tested (from the original issue, 1000 should be enough) and move it to pummel to avoid timing out in the CI on slower containers. --- .../test-fs-read-stream-concurrent-reads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename test/{parallel => pummel}/test-fs-read-stream-concurrent-reads.js (98%) diff --git a/test/parallel/test-fs-read-stream-concurrent-reads.js b/test/pummel/test-fs-read-stream-concurrent-reads.js similarity index 98% rename from test/parallel/test-fs-read-stream-concurrent-reads.js rename to test/pummel/test-fs-read-stream-concurrent-reads.js index b5674484866cc7..85059ec556c09c 100644 --- a/test/parallel/test-fs-read-stream-concurrent-reads.js +++ b/test/pummel/test-fs-read-stream-concurrent-reads.js @@ -13,7 +13,7 @@ const fs = require('fs'); const filename = fixtures.path('loop.js'); // Some small non-homogeneous file. const content = fs.readFileSync(filename); -const N = 2000; +const N = 1000; let started = 0; let done = 0;