aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-23 23:00:27 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-23 23:00:27 +0100
commit84c07f8ac19053a219e45e2bf9fd6ec4e46c4d8c (patch)
treedee495506446a90e3d3c3996db7ef44c8b97af81
parentc129e2a1677a51b1adae3c08839fb397b565a57e (diff)
downloadPeerTube-84c07f8ac19053a219e45e2bf9fd6ec4e46c4d8c.tar.gz
PeerTube-84c07f8ac19053a219e45e2bf9fd6ec4e46c4d8c.tar.zst
PeerTube-84c07f8ac19053a219e45e2bf9fd6ec4e46c4d8c.zip
Fix tests
-rw-r--r--server/tests/utils/servers.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/utils/servers.js b/server/tests/utils/servers.js
index c07db4c40..afb08e6fc 100644
--- a/server/tests/utils/servers.js
+++ b/server/tests/utils/servers.js
@@ -60,9 +60,10 @@ function runServer (number, callback) {
60 60
61 // These actions are async so we need to be sure that they have both been done 61 // These actions are async so we need to be sure that they have both been done
62 const serverRunString = { 62 const serverRunString = {
63 'Database is ready': false,
64 'Server listening on port': false 63 'Server listening on port': false
65 } 64 }
65 const key = 'Database peertube_test' + number + ' is ready'
66 serverRunString[key] = false
66 67
67 const regexps = { 68 const regexps = {
68 client_id: 'Client id: (.+)', 69 client_id: 'Client id: (.+)',