From c9c162bc16ca617063f11c11bdc0bcc2e9d6f357 Mon Sep 17 00:00:00 2001 From: extremeheat Date: Tue, 4 May 2021 02:52:09 -0400 Subject: [PATCH] Increase test timeouts --- test/internal.test.js | 2 +- test/proxy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/internal.test.js b/test/internal.test.js index ef756c6..b2a901b 100644 --- a/test/internal.test.js +++ b/test/internal.test.js @@ -5,7 +5,7 @@ const { proxyTest } = require('./proxy') const { Versions } = require('../src/options') describe('internal client/server test', function () { - this.timeout(220 * 1000) + this.timeout(240 * 1000) for (const version in Versions) { it('connects ' + version, async () => { diff --git a/test/proxy.js b/test/proxy.js index ad5d3ab..5c98785 100644 --- a/test/proxy.js +++ b/test/proxy.js @@ -1,7 +1,7 @@ const { createClient, createServer, Relay } = require('bedrock-protocol') const { sleep, waitFor } = require('../src/datatypes/util') -function proxyTest (version, timeout = 1000 * 20) { +function proxyTest (version, timeout = 1000 * 40) { return waitFor(res => { const server = createServer({ host: '0.0.0.0', // optional