diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-07-13 10:43:40 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-07-13 10:43:40 +0200 |
commit | 1899a37743772751b83deb91c477633712305798 (patch) | |
tree | b0a27dfbd6897cf6c8bd1b4295edb7974a001bdc /scripts/tests | |
parent | Fixed ICE-8282 - added IceIAPObjC library (diff) | |
download | ice-1899a37743772751b83deb91c477633712305798.tar.bz2 ice-1899a37743772751b83deb91c477633712305798.tar.xz ice-1899a37743772751b83deb91c477633712305798.zip |
Fix for ICE-8130 and ICE-8309 - enabled tracing to investigate failures
Diffstat (limited to 'scripts/tests')
-rw-r--r-- | scripts/tests/Glacier2/router.py | 12 | ||||
-rw-r--r-- | scripts/tests/Ice/timeout.py | 9 |
2 files changed, 18 insertions, 3 deletions
diff --git a/scripts/tests/Glacier2/router.py b/scripts/tests/Glacier2/router.py index 672da89d8a6..b30754159de 100644 --- a/scripts/tests/Glacier2/router.py +++ b/scripts/tests/Glacier2/router.py @@ -25,13 +25,21 @@ routerProps = { "Glacier2.SessionTimeout" : "30", } +traceProps = { + "Ice.Trace.Protocol": 1, + "Ice.Trace.Network": 2, + "Ice.Trace.Retry": 1, +} + def buffered(enabled): return { "Glacier2.Client.Buffered": enabled, "Glacier2.Server.Buffered": enabled } Glacier2TestSuite(__name__, routerProps, [ ClientServerTestCase(name="client/server with router in unbuffered mode", servers=[Glacier2Router(passwords=passwords, props=buffered(False)), Server()], - client=Client(args=["--shutdown"])), + client=Client(args=["--shutdown"]), + traceProps=traceProps), ClientServerTestCase(name="client/server with router in buffered mode", servers=[Glacier2Router(passwords=passwords, props=buffered(True)), Server()], - clients=[Client(), Client(args=["--shutdown"])])]) + clients=[Client(), Client(args=["--shutdown"])], + traceProps=traceProps)]) diff --git a/scripts/tests/Ice/timeout.py b/scripts/tests/Ice/timeout.py index 6dfd8e83c67..ea7afdb3856 100644 --- a/scripts/tests/Ice/timeout.py +++ b/scripts/tests/Ice/timeout.py @@ -8,4 +8,11 @@ # # ********************************************************************** -TestSuite(__name__, options = { "compress" : [False] }) +# Enable some tracing to allow investigating test failures +traceProps = { + "Ice.Trace.Network" : 2, + "Ice.Trace.Retry" : 1, + "Ice.Trace.Protocol" : 1 +} + +TestSuite(__name__, [ClientServerTestCase(traceProps=traceProps)], options = { "compress" : [False] }, ) |