diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-10-31 09:31:01 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-10-31 09:32:08 +0100 |
commit | ef78eae6104c397b5f4a20bffd730b18079c48b4 (patch) | |
tree | c6c14b2601d8b656321765b034c015605fb21f2f /cpp/test | |
parent | Fixed typo. (diff) | |
download | ice-ef78eae6104c397b5f4a20bffd730b18079c48b4.tar.bz2 ice-ef78eae6104c397b5f4a20bffd730b18079c48b4.tar.xz ice-ef78eae6104c397b5f4a20bffd730b18079c48b4.zip |
Added logging for IceGrid/replication test to investigate client failure
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/IceGrid/replication/test.py | 12 |
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) |