blob: 87654db048689e4dc4bff5b1ced8092cff567c7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
from TestHelper import TestHelper
TestHelper.loadSlice("Test.ice")
import AllTests
class Client(TestHelper):
def run(self, args):
properties = self.createTestProperties(args)
properties.setProperty('Ice.Warn.AMICallback', '0')
properties.setProperty('Ice.Warn.Connections', '0')
#
# Limit the send buffer size, this test relies on the socket
# send() blocking after sending a given amount of data.
#
properties.setProperty("Ice.TCP.SndSize", "50000")
with self.initialize(properties=properties) as communicator:
AllTests.allTests(self, communicator, False)
AllTests.allTestsFuture(self, communicator, False)
|