Fix tests

This commit is contained in:
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

View File

@ -145,7 +145,7 @@ async function flushAndRunServer (serverNumber: number, configOverride?: Object,
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
const serverRunString = {
'Server listening': false
'HTTP server listening': false
}
const key = 'Database peertube_test' + server.internalServerNumber + ' is ready'
serverRunString[key] = false