From 84c07f8ac19053a219e45e2bf9fd6ec4e46c4d8c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 23 Jan 2017 23:00:27 +0100 Subject: [PATCH] Fix tests --- server/tests/utils/servers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { // These actions are async so we need to be sure that they have both been done const serverRunString = { - 'Database is ready': false, 'Server listening on port': false } + const key = 'Database peertube_test' + number + ' is ready' + serverRunString[key] = false const regexps = { client_id: 'Client id: (.+)', -- 2.25.1