diff --git a/bin/runTests.js b/bin/runTests.js index 7ff1ebb..5f36aa3 100755 --- a/bin/runTests.js +++ b/bin/runTests.js @@ -107,11 +107,10 @@ function startStaticServer() { }); server.on('error', e => { if (e.code === 'EADDRINUSE') { - console.log('Address in use, retrying...'); setTimeout(() => { server.close(); server.listen(PORT, HOST); - }, 1000); + }, 500); } }); server.listen(parseInt(PORT, 10));