From 1950a38fd78f75bcdace7ee39337bc6746be32da Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Mon, 24 Nov 2014 09:24:13 -0700 Subject: [PATCH] additional debugging to help with Jenkins build error --- test/integration/yaml_suite/client_manager.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/integration/yaml_suite/client_manager.js b/test/integration/yaml_suite/client_manager.js index 6c63b8258..09df005b9 100644 --- a/test/integration/yaml_suite/client_manager.js +++ b/test/integration/yaml_suite/client_manager.js @@ -28,7 +28,7 @@ module.exports = { doCreateClient({ logConfig: null }, function () { - var attemptsRemaining = 30; + var attemptsRemaining = 60; var timeout = 500; (function ping() { @@ -39,7 +39,11 @@ module.exports = { if (err && --attemptsRemaining) { setTimeout(ping, timeout); } else if (err) { - cb(new Error('unable to establish contact with ES')); + cb(new Error('unable to establish contact with ES at ' + JSON.stringify({ + host: argv.host, + port: argv.port, + err: err + }))); } else if (!JENKINS && resp.name !== 'elasticsearch_js_test_runner') { console.log(resp); cb(new Error('Almosted wiped out another es node. Shut-down all instances of ES and try again.'));