diff options
Diffstat (limited to 'cpp/test/Glacier2/sessionControl/test.py')
-rw-r--r-- | cpp/test/Glacier2/sessionControl/test.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cpp/test/Glacier2/sessionControl/test.py b/cpp/test/Glacier2/sessionControl/test.py new file mode 100644 index 00000000000..480a1741b7a --- /dev/null +++ b/cpp/test/Glacier2/sessionControl/test.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# ********************************************************************** +# +# Copyright (c) 2003-2016 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. +# +# ********************************************************************** + +# +# Note: we limit the send buffer size with Ice.TCP.SndSize, the +# test relies on send() blocking +# +routerProps = lambda process, current : { + 'Glacier2.SessionManager' : 'SessionManager:{0}'.format(current.getTestEndpoint(0)), + 'Glacier2.PermissionsVerifier' : 'Glacier2/NullPermissionsVerifier', +} + +Glacier2TestSuite(__name__, testcases=[ClientServerTestCase(servers=[Glacier2Router(props=routerProps), Server()])]) |