diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-12 11:25:09 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-12 11:25:09 +0100 |
commit | 3df456380a3d6c7ff39b0004a5390011739ebc8e (patch) | |
tree | f7a0cf3febef6400d70dc34110dceee4ddbda218 /server/tests/real-world | |
parent | e78720386f9a3187f30c0dc74a27ced837977ca9 (diff) | |
download | PeerTube-3df456380a3d6c7ff39b0004a5390011739ebc8e.tar.gz PeerTube-3df456380a3d6c7ff39b0004a5390011739ebc8e.tar.zst PeerTube-3df456380a3d6c7ff39b0004a5390011739ebc8e.zip |
Don't stuck on active jobs
Diffstat (limited to 'server/tests/real-world')
-rw-r--r-- | server/tests/real-world/real-world.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/real-world/real-world.ts b/server/tests/real-world/real-world.ts index 7f67525ed..f10ca856d 100644 --- a/server/tests/real-world/real-world.ts +++ b/server/tests/real-world/real-world.ts | |||
@@ -347,7 +347,7 @@ function goodbye () { | |||
347 | } | 347 | } |
348 | 348 | ||
349 | async function isTherePendingRequests (servers: ServerInfo[]) { | 349 | async function isTherePendingRequests (servers: ServerInfo[]) { |
350 | const states: JobState[] = [ 'inactive', 'active' ] | 350 | const states: JobState[] = [ 'inactive', 'active', 'delayed' ] |
351 | const tasks: Promise<any>[] = [] | 351 | const tasks: Promise<any>[] = [] |
352 | let pendingRequests = false | 352 | let pendingRequests = false |
353 | 353 | ||