# Copyright (c) ZeroC, Inc.

# Enable some tracing to allow investigating test failures
from Util import ClientServerTestCase, CollocatedTestCase, Mapping, TestSuite

traceProps = {"Ice.Trace.Network": 2, "Ice.Trace.Retry": 1, "Ice.Trace.Protocol": 1}

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

TestSuite(__name__, testcases, options={"compress": [False], "serialize": [False]})
