diff options
Diffstat (limited to 'server/tests/feeds')
-rw-r--r-- | server/tests/feeds/feeds.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/feeds/feeds.ts b/server/tests/feeds/feeds.ts index f65148f00..90450a0bb 100644 --- a/server/tests/feeds/feeds.ts +++ b/server/tests/feeds/feeds.ts | |||
@@ -11,12 +11,12 @@ import { | |||
11 | killallServers, | 11 | killallServers, |
12 | ServerInfo, | 12 | ServerInfo, |
13 | setAccessTokensToServers, | 13 | setAccessTokensToServers, |
14 | uploadVideo, | 14 | uploadVideo |
15 | wait | ||
16 | } from '../utils' | 15 | } from '../utils' |
17 | import { join } from 'path' | 16 | import { join } from 'path' |
18 | import * as libxmljs from 'libxmljs' | 17 | import * as libxmljs from 'libxmljs' |
19 | import { addVideoCommentThread } from '../utils/videos/video-comments' | 18 | import { addVideoCommentThread } from '../utils/videos/video-comments' |
19 | import { waitJobs } from '../utils/server/jobs' | ||
20 | 20 | ||
21 | chai.use(require('chai-xml')) | 21 | chai.use(require('chai-xml')) |
22 | chai.use(require('chai-json-schema')) | 22 | chai.use(require('chai-json-schema')) |
@@ -46,7 +46,7 @@ describe('Test syndication feeds', () => { | |||
46 | await addVideoCommentThread(servers[0].url, servers[0].accessToken, videoId, 'super comment 1') | 46 | await addVideoCommentThread(servers[0].url, servers[0].accessToken, videoId, 'super comment 1') |
47 | await addVideoCommentThread(servers[0].url, servers[0].accessToken, videoId, 'super comment 2') | 47 | await addVideoCommentThread(servers[0].url, servers[0].accessToken, videoId, 'super comment 2') |
48 | 48 | ||
49 | await wait(10000) | 49 | await waitJobs(servers) |
50 | }) | 50 | }) |
51 | 51 | ||
52 | describe('All feed', function () { | 52 | describe('All feed', function () { |