summaryrefslogtreecommitdiff
path: root/tests/http/agent.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/http/agent.js')
-rw-r--r--tests/http/agent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/agent.js b/tests/http/agent.js
index 8afe517f..0595ada4 100644
--- a/tests/http/agent.js
+++ b/tests/http/agent.js
@@ -115,7 +115,7 @@ function doTest()
try {
var peers = JSON.parse(body);
if (Array.isArray(peers))
- allOtherAgents = peers;
+ allOtherAgents = allOtherAgents.concat(peers);
} catch (e) {}
}