summaryrefslogtreecommitdiff
path: root/cpp/test/Glacier2/override/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Glacier2/override/test.py')
-rw-r--r--cpp/test/Glacier2/override/test.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/cpp/test/Glacier2/override/test.py b/cpp/test/Glacier2/override/test.py
new file mode 100644
index 00000000000..2678f78d835
--- /dev/null
+++ b/cpp/test/Glacier2/override/test.py
@@ -0,0 +1,33 @@
+# -*- 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 = {
+ 'Ice.Warn.Dispatch' : '0',
+ 'Ice.Warn.Connections' : '0',
+ 'Ice.TCP.SndSize' : '100000',
+ 'Ice.ThreadPool.Server.Serialize' : '1',
+ 'Ice.ThreadPool.Client.Serialize' : '1',
+ 'Glacier2.Filter.Category.Accept' : '"c"',
+ 'Glacier2.SessionTimeout' : '"30"',
+ 'Glacier2.PermissionsVerifier' : 'Glacier2/NullPermissionsVerifier',
+ 'Glacier2.Client.ForwardContext' : '1',
+ 'Glacier2.Client.Trace.Override' : '0',
+ 'Glacier2.Client.Trace.Request' : '0',
+ 'Glacier2.Server.Trace.Override' : '0',
+ 'Glacier2.Server.Trace.Request' : '0',
+ 'Glacier2.Client.Buffered=1 --Glacier2.Server.Buffered' : '1',
+ 'Glacier2.Client.SleepTime=50 --Glacier2.Server.SleepTime' : '50',
+}
+
+Glacier2TestSuite(__name__, routerProps=routerProps)