From 0e4469c7a1d9afcffc53d714e6db4491e552d5c9 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 18 Aug 2023 11:01:41 -0400 Subject: [PATCH] ci: try to fix flaky stdio_streams_are_locked_in_permission_prompt (#20204) --- .../stdio_streams_are_locked_in_permission_prompt/worker.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js b/cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js index 1e5a632d33..287027c839 100644 --- a/cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js +++ b/cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js @@ -1 +1,3 @@ -console.log("Are you sure you want to continue?"); +setTimeout(() => { + console.log("Are you sure you want to continue?"); +}, 10); // ensure we don't output too quickly before the permission prompt