summaryrefslogtreecommitdiff
path: root/cpp/test
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-09-13 13:26:53 +0200
committerBenoit Foucher <benoit@zeroc.com>2019-09-13 13:26:53 +0200
commite6501b5e275de24728403e31976f7b4669c135f9 (patch)
tree8d57259cf9493d869ff2355796504e0abf5ed7fd /cpp/test
parentFixed race condition in Android/UDP transport, fixes #527 (diff)
downloadice-e6501b5e275de24728403e31976f7b4669c135f9.tar.bz2
ice-e6501b5e275de24728403e31976f7b4669c135f9.tar.xz
ice-e6501b5e275de24728403e31976f7b4669c135f9.zip
Added tracing for IceGrid/replicaGroup test, fix for #526
Diffstat (limited to 'cpp/test')
-rw-r--r--cpp/test/IceGrid/replicaGroup/test.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/cpp/test/IceGrid/replicaGroup/test.py b/cpp/test/IceGrid/replicaGroup/test.py
index f78e87b79e0..988cfaed8e5 100644
--- a/cpp/test/IceGrid/replicaGroup/test.py
+++ b/cpp/test/IceGrid/replicaGroup/test.py
@@ -7,14 +7,25 @@ registryProps = {
"Ice.Plugin.RegistryPlugin" : "RegistryPlugin:createRegistryPlugin",
"IceGrid.Registry.DynamicRegistration" : 1
}
+registryTraceProps = {
+ "IceGrid.Registry.Trace.Locator": 2,
+ "IceGrid.Registry.Trace.Server": 1,
+ "IceGrid.Registry.Trace.Adapter": 1,
+ "IceGrid.Registry.Trace.Node": 1,
+ "Ice.Trace.Protocol": 1,
+}
clientProps = {
"Ice.RetryIntervals" : "0 50 100 250"
}
+clientTraceProps = {
+ "Ice.Trace.Locator": 2,
+ "Ice.Trace.Protocol": 1
+}
if isinstance(platform, Windows) or os.getuid() != 0:
TestSuite(__file__,
- [IceGridTestCase(icegridregistry=[IceGridRegistryMaster(props=registryProps)],
- client=IceGridClient(props=clientProps))],
+ [IceGridTestCase(icegridregistry=[IceGridRegistryMaster(props=registryProps, traceProps=registryTraceProps)],
+ client=IceGridClient(props=clientProps, traceProps=clientTraceProps))],
libDirs=["registryplugin", "testservice"],
multihost=False)