diff options
Diffstat (limited to 'server/tests/api/videos/single-server.ts')
-rw-r--r-- | server/tests/api/videos/single-server.ts | 5 |
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 | ||
17 | const expect = chai.expect | 18 | const 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()) |