diff options
Diffstat (limited to 'cpp/test/IceGrid/noRestartUpdate/test.py')
-rw-r--r-- | cpp/test/IceGrid/noRestartUpdate/test.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/noRestartUpdate/test.py b/cpp/test/IceGrid/noRestartUpdate/test.py new file mode 100644 index 00000000000..220ca4ef8b3 --- /dev/null +++ b/cpp/test/IceGrid/noRestartUpdate/test.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# ********************************************************************** +# +# Copyright (c) 2003-2016 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. +# +# ********************************************************************** + +class IceGridNoRestartUpdateTestCase(IceGridTestCase): + + def setupClientSide(self, current): + IceGridTestCase.setupClientSide(self, current) + self.mkdirs("db/node1") + self.mkdirs("db/node2") + +clientProps = lambda process, current: { + "IceBinDir" : current.testcase.getMapping().getBinDir(current), + "ServerDir" : current.getBuildDir("server"), + "ServiceDir" : current.getBuildDir("testservice") +} + +TestSuite(__file__, + [IceGridNoRestartUpdateTestCase(application=None, client=IceGridClient(props=clientProps))], + multihost=False)
\ No newline at end of file |