From 7b02f2aba63269e1870985fd6b98c3129270706e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 19 Apr 2024 00:40:15 +0100 Subject: test: deflake tests for rejection handled (#23448) Fixes flakiness for rejection handled tests on Windows (7 failures in the past day). --- tests/testdata/node/rejection_handled_web_process.ts | 2 +- tests/testdata/run/rejection_handled.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testdata/node/rejection_handled_web_process.ts b/tests/testdata/node/rejection_handled_web_process.ts index e331f8998..a5136ca3d 100644 --- a/tests/testdata/node/rejection_handled_web_process.ts +++ b/tests/testdata/node/rejection_handled_web_process.ts @@ -23,4 +23,4 @@ setTimeout(() => { setTimeout(() => { console.log("Success"); -}, 500); +}, 1000); diff --git a/tests/testdata/run/rejection_handled.ts b/tests/testdata/run/rejection_handled.ts index c29ae7089..16506ea4a 100644 --- a/tests/testdata/run/rejection_handled.ts +++ b/tests/testdata/run/rejection_handled.ts @@ -14,4 +14,4 @@ setTimeout(async () => { setTimeout(() => { console.log("Success"); -}, 200); +}, 1000); -- cgit v1.2.3