summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-10-31 09:31:01 +0100
committerBenoit Foucher <benoit@zeroc.com>2019-10-31 09:32:08 +0100
commitef78eae6104c397b5f4a20bffd730b18079c48b4 (patch)
treec6c14b2601d8b656321765b034c015605fb21f2f /cpp
parentFixed typo. (diff)
downloadice-ef78eae6104c397b5f4a20bffd730b18079c48b4.tar.bz2
ice-ef78eae6104c397b5f4a20bffd730b18079c48b4.tar.xz
ice-ef78eae6104c397b5f4a20bffd730b18079c48b4.zip
Added logging for IceGrid/replication test to investigate client failure
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/IceGrid/replication/test.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/cpp/test/IceGrid/replication/test.py b/cpp/test/IceGrid/replication/test.py
index be34ed4c389..6a202de4ce4 100644
--- a/cpp/test/IceGrid/replication/test.py
+++ b/cpp/test/IceGrid/replication/test.py
@@ -5,5 +5,15 @@
clientProps = lambda process, current: { "ServerDir" : current.getBuildDir("server") }
+# Enable some tracing to allow investigating test failures
+traceProps = {
+ "Ice.Trace.Network" : 2,
+ "Ice.Trace.Retry" : 1,
+ "Ice.Trace.Protocol" : 1
+}
+
if isinstance(platform, Windows) or os.getuid() != 0:
- TestSuite(__file__, [ IceGridTestCase(client=IceGridClient(props=clientProps)) ], runOnMainThread=True, multihost=False)
+ TestSuite(__file__,
+ [ IceGridTestCase(client=IceGridClient(props=clientProps, traceProps=traceProps)) ],
+ runOnMainThread=True,
+ multihost=False)