diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-05-05 12:15:16 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-05-05 12:15:16 +0200 |
commit | 62326afb151a1062253ac8b08bb62ce3f01e1267 (patch) | |
tree | 0ab9950e84bdcc935e3c3531d061762eea2c0075 /server/tests/api | |
parent | fce897f326af14406ced2f71a00ae89ff297a550 (diff) | |
download | PeerTube-62326afb151a1062253ac8b08bb62ce3f01e1267.tar.gz PeerTube-62326afb151a1062253ac8b08bb62ce3f01e1267.tar.zst PeerTube-62326afb151a1062253ac8b08bb62ce3f01e1267.zip |
Server: Fix video propagation with transcoding enabled
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/multiple-pods.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/api/multiple-pods.js b/server/tests/api/multiple-pods.js index 45969e83a..feba68d74 100644 --- a/server/tests/api/multiple-pods.js +++ b/server/tests/api/multiple-pods.js | |||
@@ -76,6 +76,7 @@ describe('Test multiple pods', function () { | |||
76 | 76 | ||
77 | describe('Should upload the video and propagate on each pod', function () { | 77 | describe('Should upload the video and propagate on each pod', function () { |
78 | it('Should upload the video on pod 1 and propagate on each pod', function (done) { | 78 | it('Should upload the video on pod 1 and propagate on each pod', function (done) { |
79 | // Pod 1 has video transcoding activated | ||
79 | this.timeout(15000) | 80 | this.timeout(15000) |
80 | 81 | ||
81 | series([ | 82 | series([ |
@@ -152,7 +153,7 @@ describe('Test multiple pods', function () { | |||
152 | }) | 153 | }) |
153 | 154 | ||
154 | it('Should upload the video on pod 2 and propagate on each pod', function (done) { | 155 | it('Should upload the video on pod 2 and propagate on each pod', function (done) { |
155 | this.timeout(15000) | 156 | this.timeout(30000) |
156 | 157 | ||
157 | series([ | 158 | series([ |
158 | function (next) { | 159 | function (next) { |
@@ -169,7 +170,7 @@ describe('Test multiple pods', function () { | |||
169 | videosUtils.uploadVideo(servers[1].url, servers[1].accessToken, videoAttributes, next) | 170 | videosUtils.uploadVideo(servers[1].url, servers[1].accessToken, videoAttributes, next) |
170 | }, | 171 | }, |
171 | function (next) { | 172 | function (next) { |
172 | setTimeout(next, 11000) | 173 | setTimeout(next, 22000) |
173 | }], | 174 | }], |
174 | // All pods should have this video | 175 | // All pods should have this video |
175 | function (err) { | 176 | function (err) { |