Fix tests

pull/3581/head
Chocobozzz 2021-01-11 10:33:29 +01:00
parent d8658f0f81
commit fcb7712228
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ async function flushAndRunServer (serverNumber: number, configOverride?: Object,
async function runServer (server: ServerInfo, configOverrideArg?: any, args = [], options: RunServerOptions = {}) { async function runServer (server: ServerInfo, configOverrideArg?: any, args = [], options: RunServerOptions = {}) {
// These actions are async so we need to be sure that they have both been done // These actions are async so we need to be sure that they have both been done
const serverRunString = { const serverRunString = {
'Server listening': false 'HTTP server listening': false
} }
const key = 'Database peertube_test' + server.internalServerNumber + ' is ready' const key = 'Database peertube_test' + server.internalServerNumber + ' is ready'
serverRunString[key] = false serverRunString[key] = false