Increase test timeouts

This commit is contained in:
extremeheat 2021-05-04 02:52:09 -04:00
commit c9c162bc16
2 changed files with 2 additions and 2 deletions

View file

@ -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 () => {

View file

@ -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