diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/activitypub/refresher.ts | 2 | ||||
-rw-r--r-- | server/tests/api/videos/multiple-servers.ts | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/activitypub/refresher.ts b/server/tests/api/activitypub/refresher.ts index ae4859076..665a9f9f0 100644 --- a/server/tests/api/activitypub/refresher.ts +++ b/server/tests/api/activitypub/refresher.ts | |||
@@ -8,7 +8,7 @@ import { | |||
8 | generateUserAccessToken, | 8 | generateUserAccessToken, |
9 | getVideo, | 9 | getVideo, |
10 | getVideoPlaylist, | 10 | getVideoPlaylist, |
11 | killallServers, | 11 | killallServers, rateVideo, |
12 | reRunServer, | 12 | reRunServer, |
13 | ServerInfo, | 13 | ServerInfo, |
14 | setAccessTokensToServers, | 14 | setAccessTokensToServers, |
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index 7e2fcb630..f91678140 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts | |||
@@ -579,15 +579,15 @@ describe('Test multiple servers', function () { | |||
579 | this.timeout(20000) | 579 | this.timeout(20000) |
580 | 580 | ||
581 | await rateVideo(servers[0].url, servers[0].accessToken, remoteVideosServer1[0], 'like') | 581 | await rateVideo(servers[0].url, servers[0].accessToken, remoteVideosServer1[0], 'like') |
582 | await wait(200) | 582 | await wait(500) |
583 | await rateVideo(servers[0].url, servers[0].accessToken, remoteVideosServer1[0], 'dislike') | 583 | await rateVideo(servers[0].url, servers[0].accessToken, remoteVideosServer1[0], 'dislike') |
584 | await wait(200) | 584 | await wait(500) |
585 | await rateVideo(servers[0].url, servers[0].accessToken, remoteVideosServer1[0], 'like') | 585 | await rateVideo(servers[0].url, servers[0].accessToken, remoteVideosServer1[0], 'like') |
586 | await rateVideo(servers[2].url, servers[2].accessToken, localVideosServer3[1], 'like') | 586 | await rateVideo(servers[2].url, servers[2].accessToken, localVideosServer3[1], 'like') |
587 | await wait(200) | 587 | await wait(500) |
588 | await rateVideo(servers[2].url, servers[2].accessToken, localVideosServer3[1], 'dislike') | 588 | await rateVideo(servers[2].url, servers[2].accessToken, localVideosServer3[1], 'dislike') |
589 | await rateVideo(servers[2].url, servers[2].accessToken, remoteVideosServer3[1], 'dislike') | 589 | await rateVideo(servers[2].url, servers[2].accessToken, remoteVideosServer3[1], 'dislike') |
590 | await wait(200) | 590 | await wait(500) |
591 | await rateVideo(servers[2].url, servers[2].accessToken, remoteVideosServer3[0], 'like') | 591 | await rateVideo(servers[2].url, servers[2].accessToken, remoteVideosServer3[0], 'like') |
592 | 592 | ||
593 | await waitJobs(servers) | 593 | await waitJobs(servers) |