From: Chocobozzz Date: Fri, 5 May 2017 11:42:52 +0000 (+0200) Subject: Fix tests X-Git-Tag: v0.0.1-alpha~435 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b1ed221747d6829232d2311c11e4fd26faa43c4f;p=oweals%2Fpeertube.git Fix tests --- diff --git a/server/tests/api/friends-advanced.js b/server/tests/api/friends-advanced.js index afa699914..d433e97d0 100644 --- a/server/tests/api/friends-advanced.js +++ b/server/tests/api/friends-advanced.js @@ -169,7 +169,7 @@ describe('Test advanced friends', function () { uploadVideo(2, next) }, function (next) { - setTimeout(next, 11000) + setTimeout(next, 22000) }, // Rerun server 4 function (next) { diff --git a/server/tests/api/video-abuse.js b/server/tests/api/video-abuse.js index 1f64ec861..a9af74857 100644 --- a/server/tests/api/video-abuse.js +++ b/server/tests/api/video-abuse.js @@ -60,7 +60,7 @@ describe('Test video abuses', function () { }, // Wait videos propagation function (next) { - setTimeout(next, 11000) + setTimeout(next, 22000) }, function (next) { videosUtils.getVideosList(servers[0].url, function (err, res) { diff --git a/server/tests/api/video-blacklist.js b/server/tests/api/video-blacklist.js index c95fc17cb..6287b9b08 100644 --- a/server/tests/api/video-blacklist.js +++ b/server/tests/api/video-blacklist.js @@ -53,7 +53,7 @@ describe('Test video blacklists', function () { }, // Wait videos propagation function (next) { - setTimeout(next, 11000) + setTimeout(next, 22000) }, function (next) { videosUtils.getVideosList(servers[0].url, function (err, res) {