summaryrefslogtreecommitdiff
path: root/scripts/tests/Ice/retry.py
blob: 643143fb4f901644fd09af0bec5c88e2748b505c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- coding: utf-8 -*-
#
# Copyright (c) ZeroC, Inc. All rights reserved.
#

# Enable some tracing to allow investigating test failures
traceProps = {
    "Ice.Trace.Network" : 2,
    "Ice.Trace.Retry" : 1,
    "Ice.Trace.Protocol" : 1
}

testcases = [ClientServerTestCase(traceProps=traceProps)]

if Mapping.getByPath(__name__).hasSource("Ice/retry", "collocated"):
    testcases += [ CollocatedTestCase(traceProps=traceProps) ]

TestSuite(__name__, testcases)