aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/tests/api/friends-basic.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/api/friends-basic.js b/server/tests/api/friends-basic.js
index c91dcb0ce..f1393b5ec 100644
--- a/server/tests/api/friends-basic.js
+++ b/server/tests/api/friends-basic.js
@@ -74,7 +74,7 @@ describe('Test basic friends', function () {
74 }) 74 })
75 75
76 it('Should make friends', function (done) { 76 it('Should make friends', function (done) {
77 this.timeout(10000) 77 this.timeout(40000)
78 78
79 series([ 79 series([
80 // The second pod make friend with the third 80 // The second pod make friend with the third
@@ -83,7 +83,7 @@ describe('Test basic friends', function () {
83 }, 83 },
84 // Wait for the request between pods 84 // Wait for the request between pods
85 function (next) { 85 function (next) {
86 setTimeout(next, 1000) 86 setTimeout(next, 11000)
87 }, 87 },
88 // The second pod should have the third as a friend 88 // The second pod should have the third as a friend
89 function (next) { 89 function (next) {
@@ -179,6 +179,8 @@ describe('Test basic friends', function () {
179 }) 179 })
180 180
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 this.timeout(20000)
183
182 const server = servers[1] 184 const server = servers[1]
183 podsUtils.makeFriends(server.url, server.accessToken, function () { 185 podsUtils.makeFriends(server.url, server.accessToken, function () {
184 setTimeout(function () { 186 setTimeout(function () {