mirror of https://github.com/Chocobozzz/PeerTube
Fix tests
parent
d8658f0f81
commit
fcb7712228
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue