diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/utils/servers.js | 3 |
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: (.+)', |