diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-11 10:33:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-11 10:33:29 +0100 |
commit | fcb771222854d4239f97b60969e3f11e434a2239 (patch) | |
tree | 57b73bb6f18fdfb6d8f4692a82e6c3bc1361e595 | |
parent | d8658f0f8131f1768697669b673290a2e25c2997 (diff) | |
download | PeerTube-fcb771222854d4239f97b60969e3f11e434a2239.tar.gz PeerTube-fcb771222854d4239f97b60969e3f11e434a2239.tar.zst PeerTube-fcb771222854d4239f97b60969e3f11e434a2239.zip |
Fix tests
-rw-r--r-- | shared/extra-utils/server/servers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index fe4ed3e48..5e1de6ece 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -145,7 +145,7 @@ async function flushAndRunServer (serverNumber: number, configOverride?: Object, | |||
145 | async function runServer (server: ServerInfo, configOverrideArg?: any, args = [], options: RunServerOptions = {}) { | 145 | async function runServer (server: ServerInfo, configOverrideArg?: any, args = [], options: RunServerOptions = {}) { |
146 | // These actions are async so we need to be sure that they have both been done | 146 | // These actions are async so we need to be sure that they have both been done |
147 | const serverRunString = { | 147 | const serverRunString = { |
148 | 'Server listening': false | 148 | 'HTTP server listening': false |
149 | } | 149 | } |
150 | const key = 'Database peertube_test' + server.internalServerNumber + ' is ready' | 150 | const key = 'Database peertube_test' + server.internalServerNumber + ' is ready' |
151 | serverRunString[key] = false | 151 | serverRunString[key] = false |