summaryrefslogtreecommitdiff
path: root/js/test/Ice/exceptions/ServerAMD.js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-08-14 20:02:53 +0200
committerJose <jose@zeroc.com>2018-08-14 20:03:24 +0200
commit7d722e7eb41abd0147458c72285f6fea706c980e (patch)
tree3d7d1884d6fccfd8a44ab9dabb8d833813aee846 /js/test/Ice/exceptions/ServerAMD.js
parentFixed icehashpassword deprecation warning with python debug (diff)
downloadice-7d722e7eb41abd0147458c72285f6fea706c980e.tar.bz2
ice-7d722e7eb41abd0147458c72285f6fea706c980e.tar.xz
ice-7d722e7eb41abd0147458c72285f6fea706c980e.zip
Fixes to allow run JavaScript and Python tests with workers
Diffstat (limited to 'js/test/Ice/exceptions/ServerAMD.js')
-rw-r--r--js/test/Ice/exceptions/ServerAMD.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/test/Ice/exceptions/ServerAMD.js b/js/test/Ice/exceptions/ServerAMD.js
index c70113f1fd7..952b50be20f 100644
--- a/js/test/Ice/exceptions/ServerAMD.js
+++ b/js/test/Ice/exceptions/ServerAMD.js
@@ -22,11 +22,11 @@
let echo;
try
{
- const properties = this.createTestProperties(args);
+ const [properties] = this.createTestProperties(args);
properties.setProperty("Ice.MessageSizeMax", "10");
properties.setProperty("Ice.Warn.Dispatch", "0");
properties.setProperty("Ice.Warn.Connections", "0");
- communicator = this.initialize(properties);
+ [communicator] = this.initialize(properties);
echo = await Test.EchoPrx.checkedCast(communicator.stringToProxy("__echo:" + this.getTestEndpoint()));
const adapter = await communicator.createObjectAdapter("");
adapter.add(new AMDThrowerI(), Ice.stringToIdentity("thrower"));