aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/api/multiplePods.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-01-23 18:31:58 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-01-23 18:31:58 +0100
commit45239549bf2659998dcf9196d86974b0b625912e (patch)
tree823d324db097400a7b5ae59a03deff54c5fd86ef /test/api/multiplePods.js
parent2cc8ebf134b66047cd639ee7324e1ecfd5c5fd18 (diff)
downloadPeerTube-45239549bf2659998dcf9196d86974b0b625912e.tar.gz
PeerTube-45239549bf2659998dcf9196d86974b0b625912e.tar.zst
PeerTube-45239549bf2659998dcf9196d86974b0b625912e.zip
Finalise the join in a network and add the ability to quit it
Diffstat (limited to 'test/api/multiplePods.js')
-rw-r--r--test/api/multiplePods.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/api/multiplePods.js b/test/api/multiplePods.js
index a831e0fa6..531e1ef33 100644
--- a/test/api/multiplePods.js
+++ b/test/api/multiplePods.js
@@ -22,12 +22,12 @@
22 urls = urls_run 22 urls = urls_run
23 23
24 // The second pod make friend with the third 24 // The second pod make friend with the third
25 utils.makeFriend(urls[1], function (err, res) { 25 utils.makeFriends(urls[1], function (err, res) {
26 if (err) throw err 26 if (err) throw err
27 27
28 // Wait for the request between pods 28 // Wait for the request between pods
29 setTimeout(function () { 29 setTimeout(function () {
30 utils.makeFriend(urls[0], function (err, res) { 30 utils.makeFriends(urls[0], function (err, res) {
31 if (err) throw err 31 if (err) throw err
32 32
33 webtorrent.create({ host: 'client', port: '1' }, function () { 33 webtorrent.create({ host: 'client', port: '1' }, function () {