aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-12 11:25:09 +0100
committerChocobozzz <me@florianbigard.com>2018-02-12 11:25:09 +0100
commit3df456380a3d6c7ff39b0004a5390011739ebc8e (patch)
treef7a0cf3febef6400d70dc34110dceee4ddbda218 /server/tests
parente78720386f9a3187f30c0dc74a27ced837977ca9 (diff)
downloadPeerTube-3df456380a3d6c7ff39b0004a5390011739ebc8e.tar.gz
PeerTube-3df456380a3d6c7ff39b0004a5390011739ebc8e.tar.zst
PeerTube-3df456380a3d6c7ff39b0004a5390011739ebc8e.zip
Don't stuck on active jobs
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/real-world/real-world.ts2
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
349async function isTherePendingRequests (servers: ServerInfo[]) { 349async 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