diff options
Diffstat (limited to 'test/api/multiplePods.js')
-rw-r--r-- | test/api/multiplePods.js | 4 |
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 () { |