aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-09-21 23:05:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-09-21 23:05:31 +0200
commitccc64aa6790961d2af3524a78ff8506cbdbefb13 (patch)
tree64049f0e48cd07a8e3c11de19de057a381296466 /server/tests
parent3783627410b22a9401f6e8be72bd1b970f93b4e1 (diff)
downloadPeerTube-ccc64aa6790961d2af3524a78ff8506cbdbefb13.tar.gz
PeerTube-ccc64aa6790961d2af3524a78ff8506cbdbefb13.tar.zst
PeerTube-ccc64aa6790961d2af3524a78ff8506cbdbefb13.zip
Server: fix unit tests again
Diffstat (limited to 'server/tests')
-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 () {