diff options
author | Green-Star <Green-Star@users.noreply.github.com> | 2017-07-02 20:48:31 +0200 |
---|---|---|
committer | Bigard Florian <florian.bigard@gmail.com> | 2017-07-02 20:48:31 +0200 |
commit | 5fe7e898316e18369c3e1aba307b55077adc7bfb (patch) | |
tree | 1ea859558b44250dce43be1be7261c2e79df454b /server/tests/api/request-schedulers.js | |
parent | ba44fa19531186944fef3e9da34f5e91f0c0dedb (diff) | |
download | PeerTube-5fe7e898316e18369c3e1aba307b55077adc7bfb.tar.gz PeerTube-5fe7e898316e18369c3e1aba307b55077adc7bfb.tar.zst PeerTube-5fe7e898316e18369c3e1aba307b55077adc7bfb.zip |
Fix test (#71)
* Fix timeouting tests
* Increase timeout to be sure requests will be propagated
* Add timeout to be sure video views will be updated
* Use standard style
* Fix PR comments.
Diffstat (limited to 'server/tests/api/request-schedulers.js')
-rw-r--r-- | server/tests/api/request-schedulers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/request-schedulers.js b/server/tests/api/request-schedulers.js index c5c443f14..c5ea72a6a 100644 --- a/server/tests/api/request-schedulers.js +++ b/server/tests/api/request-schedulers.js | |||
@@ -37,7 +37,7 @@ describe('Test requests schedulers stats', function () { | |||
37 | // --------------------------------------------------------------- | 37 | // --------------------------------------------------------------- |
38 | 38 | ||
39 | before(function (done) { | 39 | before(function (done) { |
40 | this.timeout(20000) | 40 | this.timeout(120000) |
41 | serversUtils.flushAndRunMultipleServers(2, function (serversRun, urlsRun) { | 41 | serversUtils.flushAndRunMultipleServers(2, function (serversRun, urlsRun) { |
42 | servers = serversRun | 42 | servers = serversRun |
43 | 43 | ||