diff options
Diffstat (limited to 'python/test/Ice/info/AllTests.py')
-rw-r--r-- | python/test/Ice/info/AllTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/info/AllTests.py b/python/test/Ice/info/AllTests.py index 9bec16441f3..e7d4f14054a 100644 --- a/python/test/Ice/info/AllTests.py +++ b/python/test/Ice/info/AllTests.py @@ -148,7 +148,7 @@ def allTests(helper, communicator): test(port > 0) udp = base.ice_datagram().ice_getConnection().getEndpoint().getInfo() - test(udp.port == 12010) + test(udp.port == port) test(udp.host == defaultHost) print("ok") @@ -163,7 +163,7 @@ def allTests(helper, communicator): tcpinfo = getTCPConnectionInfo(info) test(not info.incoming) test(len(info.adapterName) == 0) - test(tcpinfo.remotePort == 12010) + test(tcpinfo.remotePort == port) if defaultHost == '127.0.0.1': test(tcpinfo.remoteAddress == defaultHost) test(tcpinfo.localAddress == defaultHost) |