aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-09 14:46:49 +0200
committerChocobozzz <me@florianbigard.com>2022-08-09 14:49:25 +0200
commit06ac128958c489efe1008eeca1df683819bd2f18 (patch)
tree04664b2ddb7b00d3fae7ec358a0913b2205205c8 /server/tests/api
parent7f529402d17a918136af7a1291e61a94c2e16f6d (diff)
downloadPeerTube-06ac128958c489efe1008eeca1df683819bd2f18.tar.gz
PeerTube-06ac128958c489efe1008eeca1df683819bd2f18.tar.zst
PeerTube-06ac128958c489efe1008eeca1df683819bd2f18.zip
Fix print transcode command test
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/videos/single-server.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/tests/api/videos/single-server.ts b/server/tests/api/videos/single-server.ts
index 0e429fef7..c1d86776a 100644
--- a/server/tests/api/videos/single-server.ts
+++ b/server/tests/api/videos/single-server.ts
@@ -11,7 +11,8 @@ import {
11 PeerTubeServer, 11 PeerTubeServer,
12 setAccessTokensToServers, 12 setAccessTokensToServers,
13 setDefaultAccountAvatar, 13 setDefaultAccountAvatar,
14 setDefaultChannelAvatar 14 setDefaultChannelAvatar,
15 waitJobs
15} from '@shared/server-commands' 16} from '@shared/server-commands'
16 17
17const expect = chai.expect 18const expect = chai.expect
@@ -358,6 +359,8 @@ describe('Test a single server', function () {
358 it('Should have the video updated', async function () { 359 it('Should have the video updated', async function () {
359 this.timeout(60000) 360 this.timeout(60000)
360 361
362 await waitJobs([ server ])
363
361 const video = await server.videos.get({ id: videoId }) 364 const video = await server.videos.get({ id: videoId })
362 365
363 await completeVideoCheck(server, video, updateCheckAttributes()) 366 await completeVideoCheck(server, video, updateCheckAttributes())