summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-04-19 00:40:15 +0100
committerGitHub <noreply@github.com>2024-04-18 23:40:15 +0000
commit7b02f2aba63269e1870985fd6b98c3129270706e (patch)
treed084ad9732c9311fbfc6023e20dd592a446cb29b
parent3d841acf4861220553614473538de935d24bcb21 (diff)
test: deflake tests for rejection handled (#23448)
Fixes flakiness for rejection handled tests on Windows (7 failures in the past day).
-rw-r--r--tests/testdata/node/rejection_handled_web_process.ts2
-rw-r--r--tests/testdata/run/rejection_handled.ts2
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);