From 40ab05029814c9778b80657d530e943d1cdfc6f2 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Sun, 15 Oct 2023 15:43:39 +0200 Subject: [PATCH] test: first attempt for flaky fix (#2337) --- test/fetch/http2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fetch/http2.js b/test/fetch/http2.js index b426de3cbe5..32fb33e14eb 100644 --- a/test/fetch/http2.js +++ b/test/fetch/http2.js @@ -193,11 +193,11 @@ test( ':status': 200 }) - stream.end('hello h2!') - for await (const chunk of stream) { requestChunks.push(chunk) } + + stream.end('hello h2!') }) t.plan(8)