summaryrefslogtreecommitdiff
path: root/py/test/Ice/info/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/test/Ice/info/AllTests.py')
-rw-r--r--py/test/Ice/info/AllTests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/py/test/Ice/info/AllTests.py b/py/test/Ice/info/AllTests.py
index c8b8ec46bce..67e395e9714 100644
--- a/py/test/Ice/info/AllTests.py
+++ b/py/test/Ice/info/AllTests.py
@@ -14,6 +14,10 @@ def test(b):
raise RuntimeError('test assertion failed')
def allTests(communicator):
+ properties = communicator.getProperties()
+ properties.setProperty("Ice.UDP.SndSize", "1024")
+ properties.setProperty("Ice.UDP.RcvSize", "2048")
+
sys.stdout.write("testing proxy endpoint information... ")
sys.stdout.flush()
@@ -52,6 +56,8 @@ def allTests(communicator):
test(not udpEndpoint.secure())
test(udpEndpoint.datagram())
test(udpEndpoint.type() == Ice.UDPEndpointType)
+ test(udpEndpoint.sndBufSize == -1)
+ test(udpEndpoint.rcvBufSize == -1)
opaqueEndpoint = endps[2].getInfo()
test(isinstance(opaqueEndpoint, Ice.OpaqueEndpointInfo))
@@ -82,6 +88,8 @@ def allTests(communicator):
test(udpEndpoint.host == defaultHost)
test(udpEndpoint.datagram())
test(udpEndpoint.port > 0)
+ test(udpEndpoint.sndBufSize == 1024)
+ test(udpEndpoint.rcvBufSize == 2048)
adapter.destroy()