summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/replication/run.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-11-03 20:38:26 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-11-03 20:38:26 +0000
commit871f4f1a52176c8e0a5b57d946b9d5392b7f3c53 (patch)
tree86ab7639887b9b0f663f8ccc7033235c74f23088 /cpp/test/IceGrid/replication/run.py
parentminor changes, reordering IceGrid properties, adding (diff)
downloadice-871f4f1a52176c8e0a5b57d946b9d5392b7f3c53.tar.bz2
ice-871f4f1a52176c8e0a5b57d946b9d5392b7f3c53.tar.xz
ice-871f4f1a52176c8e0a5b57d946b9d5392b7f3c53.zip
Many IceGrid bug fixes.
Diffstat (limited to 'cpp/test/IceGrid/replication/run.py')
-rwxr-xr-xcpp/test/IceGrid/replication/run.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/test/IceGrid/replication/run.py b/cpp/test/IceGrid/replication/run.py
index 039f31b9264..64899f49529 100755
--- a/cpp/test/IceGrid/replication/run.py
+++ b/cpp/test/IceGrid/replication/run.py
@@ -44,10 +44,10 @@ else:
# and to return a direct proxy from an active server.
#
additionalOptions = " --Ice.Default.Locator=\"IceGrid/Locator:default -p 12345\"" + \
- " --Ice.PrintAdapterReady=0 --Ice.PrintProcessId=0 --Ice.RetryIntervals=\"0 10 20 30 40 50\""
+ " --Ice.PrintAdapterReady=0 --Ice.PrintProcessId=0 --Ice.RetryIntervals=\"0 50 100 250\""
IceGridAdmin.cleanDbDir(os.path.join(testdir, "db"))
-iceGridRegistryThread = IceGridAdmin.startIceGridRegistry("12345", testdir)
+iceGridRegistryThread = IceGridAdmin.startIceGridRegistry("12345", testdir, 0)
iceGridNodeThread = IceGridAdmin.startIceGridNode(testdir)
print "registering application with icegrid...",
@@ -75,4 +75,7 @@ iceGridNodeThread.join()
IceGridAdmin.shutdownIceGridRegistry()
iceGridRegistryThread.join()
-sys.exit(0)
+if clientStatus:
+ sys.exit(1)
+else:
+ sys.exit(0)