aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils')
-rw-r--r--server/tests/utils/follows.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/utils/follows.ts b/server/tests/utils/follows.ts
index cffc1648f..618436b3c 100644
--- a/server/tests/utils/follows.ts
+++ b/server/tests/utils/follows.ts
@@ -39,9 +39,6 @@ async function follow (follower: string, following: string[], accessToken: strin
39 .send({ 'hosts': followingHosts }) 39 .send({ 'hosts': followingHosts })
40 .expect(expectedStatus) 40 .expect(expectedStatus)
41 41
42 // Wait request propagation
43 await wait(20000)
44
45 return res 42 return res
46} 43}
47 44
@@ -51,6 +48,9 @@ async function doubleFollow (server1: ServerInfo, server2: ServerInfo) {
51 follow(server2.url, [ server1.url ], server2.accessToken) 48 follow(server2.url, [ server1.url ], server2.accessToken)
52 ]) 49 ])
53 50
51 // Wait request propagation
52 await wait(20000)
53
54 return true 54 return true
55} 55}
56 56