From 7db08b6d75d627ecbd6e593a6eb3c14000a0f9a3 Mon Sep 17 00:00:00 2001 From: Andrei Regiani Date: Thu, 21 Nov 2024 15:58:48 +0100 Subject: [PATCH] increase timeout for untilResult 5->10 seconds --- test/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helper.js b/test/helper.js index 98766c021..61ec2c445 100644 --- a/test/helper.js +++ b/test/helper.js @@ -153,7 +153,7 @@ class Helper extends IPC.Client { return { pipe } } - static async untilResult (pipe, timeout = 5000, runFn) { + static async untilResult (pipe, timeout = 10_000, runFn) { const res = new Promise((resolve, reject) => { const timeoutId = setTimeout(() => reject(new Error('timed out')), timeout) pipe.on('data', (data) => {