summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/replicaGroup/test.py
blob: 17cb461038d8e15a0518c6e32d6ff5bf4e0f486e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- coding: utf-8 -*-
# **********************************************************************
#
# Copyright (c) 2003-present ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

registryProps = {
    "Ice.Plugin.RegistryPlugin" : "RegistryPlugin:createRegistryPlugin",
    "IceGrid.Registry.DynamicRegistration" : 1
}

clientProps = {
    "Ice.RetryIntervals" : "0 50 100 250"
}

if isinstance(platform, Windows) or os.getuid() != 0:
    TestSuite(__file__,
              [IceGridTestCase(icegridregistry=[IceGridRegistryMaster(props=registryProps)],
                               client=IceGridClient(props=clientProps))],
              libDirs=["registryplugin", "testservice"],
              multihost=False)