diff options
-rw-r--r-- | js/test/Glacier2/router/Client.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/js/test/Glacier2/router/Client.js b/js/test/Glacier2/router/Client.js index 5dde0d2720b..82971ae66c0 100644 --- a/js/test/Glacier2/router/Client.js +++ b/js/test/Glacier2/router/Client.js @@ -351,7 +351,7 @@ out.writeLine("ok"); out.write("testing stringToProxy for process object... "); - processBase = communicator.stringToProxy("Glacier2/admin -f Process:default -h 127.0.0.1 -p 12021"); + processBase = communicator.stringToProxy("Glacier2/admin -f Process:default -p 12021"); out.writeLine("ok"); out.write("testing checked cast for admin object... "); @@ -368,7 +368,7 @@ ).then( function() { - return processPrx.ice_ping(); + return processPrx.ice_timeout(500).ice_ping(); } ).then( failCB, @@ -376,8 +376,7 @@ { test(ex instanceof Ice.LocalException); out.writeLine("ok"); - } - ); + }); } } ); |