From 60522069dbb4872fd148bc9e8327ae25e472ed41 Mon Sep 17 00:00:00 2001 From: Marten Richter Date: Sat, 10 Aug 2024 18:10:22 +0000 Subject: [PATCH] Increase timeout for localserver to address throtteling --- test/localserver.js | 2 +- test/unidirectional-streams.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/localserver.js b/test/localserver.js index 4afda6b..1e3cf92 100644 --- a/test/localserver.js +++ b/test/localserver.js @@ -70,7 +70,7 @@ app.get('/:filename', (req, res) => { ` + diff --git a/test/unidirectional-streams.spec.js b/test/unidirectional-streams.spec.js index 6bc0bb7..f2eee45 100644 --- a/test/unidirectional-streams.spec.js +++ b/test/unidirectional-streams.spec.js @@ -98,7 +98,7 @@ describe('unidirectional streams', function () { process.env.USE_PONYFILL === 'true' ) addpolyfill = 4000 - this.timeout(6000 + addpolyfill) + this.timeout(this.timeout() + 4000 + addpolyfill) client = new WebTransport( `${process.env.SERVER_URL}/unidirectional_server_delay_before_read`, wtOptions