summaryrefslogtreecommitdiff
path: root/python/test/Ice/exceptions/ServerAMD.py
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 /python/test/Ice/exceptions/ServerAMD.py
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 'python/test/Ice/exceptions/ServerAMD.py')
-rwxr-xr-xpython/test/Ice/exceptions/ServerAMD.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/test/Ice/exceptions/ServerAMD.py b/python/test/Ice/exceptions/ServerAMD.py
index 3c229492356..2a94ecf057d 100755
--- a/python/test/Ice/exceptions/ServerAMD.py
+++ b/python/test/Ice/exceptions/ServerAMD.py
@@ -150,10 +150,10 @@ class ServerAMD(TestHelper):
properties.setProperty("Ice.Warn.Connections", "0")
properties.setProperty("Ice.MessageSizeMax", "10")
with self.initialize(properties=properties) as communicator:
- communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010")
- communicator.getProperties().setProperty("TestAdapter2.Endpoints", "default -p 12011")
+ communicator.getProperties().setProperty("TestAdapter.Endpoints", self.getTestEndpoint())
+ communicator.getProperties().setProperty("TestAdapter2.Endpoints", self.getTestEndpoint(num=1))
communicator.getProperties().setProperty("TestAdapter2.MessageSizeMax", "0")
- communicator.getProperties().setProperty("TestAdapter3.Endpoints", "default -p 12012")
+ communicator.getProperties().setProperty("TestAdapter3.Endpoints", self.getTestEndpoint(num=2))
communicator.getProperties().setProperty("TestAdapter3.MessageSizeMax", "1")
adapter = communicator.createObjectAdapter("TestAdapter")