Increase test timeouts
This commit is contained in:
parent
faf7373dfd
commit
c9c162bc16
2 changed files with 2 additions and 2 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue