diff --git a/tests/http/agent.js b/tests/http/agent.js index e90ee4829..eafe265de 100644 --- a/tests/http/agent.js +++ b/tests/http/agent.js @@ -3,17 +3,17 @@ // --------------------------------------------------------------------------- // Customizable parameters: -// Maximum interval between test attempts -var TEST_INTERVAL_MAX = (60000 * 5); +// Maximum interval between test attempts (actual timing is random % this) +var TEST_INTERVAL_MAX = (60000 * 10); // Test timeout in ms var TEST_TIMEOUT = 60000; -// Where should I contact to register and query a list of other test agents? +// Where should I get other agents' IDs and POST results? var SERVER_HOST = '174.136.102.178'; var SERVER_PORT = 18080; -// Which port should agents use for their HTTP? +// Which port do agents use to serve up test data to each other? var AGENT_PORT = 18888; // Payload size in bytes @@ -181,93 +181,6 @@ function doTest() submit.end(); }; -/* -function performTestOnAllPeers(peers,callback) -{ - var allResults = {}; - var allRequests = []; - var timedOut = false; - var endOfTestTimer = setTimeout(function() { - timedOut = true; - for(var x=0;x