summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/update/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/update/test.py')
-rw-r--r--cpp/test/IceGrid/update/test.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/update/test.py b/cpp/test/IceGrid/update/test.py
new file mode 100644
index 00000000000..3decb0431e9
--- /dev/null
+++ b/cpp/test/IceGrid/update/test.py
@@ -0,0 +1,25 @@
+# -*- 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 IceGridUpdateTestCase(IceGridTestCase):
+
+ def setupClientSide(self, current):
+ IceGridTestCase.setupClientSide(self, current)
+ self.mkdirs("db/node-1")
+ self.mkdirs("db/node-2")
+
+clientProps = lambda process, current: {
+ "NodePropertiesOverride" : current.testcase.icegridnode[0].getPropertiesOverride(current),
+ "IceBinDir" : current.testcase.getMapping().getBinDir(current),
+ "ServerDir" : current.getBuildDir("server"),
+ "TestDir" : "{testdir}"
+}
+
+TestSuite(__file__, [IceGridUpdateTestCase(application=None, client=IceGridClient(props=clientProps))], multihost=False) \ No newline at end of file