diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/api/friends-basic.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/server/tests/api/friends-basic.js b/server/tests/api/friends-basic.js index 2f2f25e25..c91dcb0ce 100644 --- a/server/tests/api/friends-basic.js +++ b/server/tests/api/friends-basic.js | |||
@@ -125,7 +125,7 @@ describe('Test basic friends', function () { | |||
125 | }, | 125 | }, |
126 | // Wait for the request between pods | 126 | // Wait for the request between pods |
127 | function (next) { | 127 | function (next) { |
128 | setTimeout(next, 1000) | 128 | setTimeout(next, 11000) |
129 | } | 129 | } |
130 | ], | 130 | ], |
131 | // Now each pod should be friend with the other ones | 131 | // Now each pod should be friend with the other ones |
@@ -181,9 +181,11 @@ describe('Test basic friends', function () { | |||
181 | it('Should allow pod 2 to make friend again', function (done) { | 181 | it('Should allow pod 2 to make friend again', function (done) { |
182 | const server = servers[1] | 182 | const server = servers[1] |
183 | podsUtils.makeFriends(server.url, server.accessToken, function () { | 183 | podsUtils.makeFriends(server.url, server.accessToken, function () { |
184 | each(servers, function (server, callback) { | 184 | setTimeout(function () { |
185 | testMadeFriends(servers, server, callback) | 185 | each(servers, function (server, callback) { |
186 | }, done) | 186 | testMadeFriends(servers, server, callback) |
187 | }, done) | ||
188 | }, 11000) | ||
187 | }) | 189 | }) |
188 | }) | 190 | }) |
189 | 191 | ||