summaryrefslogtreecommitdiff
path: root/tests/http/server.js
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-09 18:01:23 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-09 18:01:23 -0800
commit32ec378e3b5e9c584d45c7316142c73c362dd032 (patch)
treee1986cf92feb930753290e1970444beb33459626 /tests/http/server.js
parent2cc50bdb10c0a7849763ae1dfa37ca7707299a16 (diff)
downloadinfinitytier-32ec378e3b5e9c584d45c7316142c73c362dd032.tar.gz
infinitytier-32ec378e3b5e9c584d45c7316142c73c362dd032.zip
Announce that we have peers on the cluster when we first see them to improve startup times, and add a result crunching script to tests/http.
Diffstat (limited to 'tests/http/server.js')
-rw-r--r--tests/http/server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/server.js b/tests/http/server.js
index 57109392..1abe624b 100644
--- a/tests/http/server.js
+++ b/tests/http/server.js
@@ -30,7 +30,7 @@ app.post('/:agentId',function(req,res) {
var resultData = null;
try {
resultData = JSON.parse(req.rawBody);
- console.log(resultData.source+','+resultData.target+','+resultData.time+','+resultData.bytes+','+resultData.timedOut+',"'+((resultData.error) ? resultData.error : '')+'"');
+ console.log(Date.now()+','+resultData.source+','+resultData.target+','+resultData.time+','+resultData.bytes+','+resultData.timedOut+',"'+((resultData.error) ? resultData.error : '')+'"');
} catch (e) {}
}