summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/fileLock/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/fileLock/run.py')
-rwxr-xr-xcpp/test/IceGrid/fileLock/run.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/test/IceGrid/fileLock/run.py b/cpp/test/IceGrid/fileLock/run.py
index bb916c6952c..658b16ee70f 100755
--- a/cpp/test/IceGrid/fileLock/run.py
+++ b/cpp/test/IceGrid/fileLock/run.py
@@ -22,7 +22,7 @@ import TestUtil, IceGridAdmin
testdir = os.getcwd();
-# No need to spawn repliacs for this test.
+# No need to spawn replicas for this test.
IceGridAdmin.nreplicas = 0
def runIceGridRegistry():
@@ -48,9 +48,11 @@ def runIceGridRegistry():
registryProcs = IceGridAdmin.startIceGridRegistry(testdir)
sys.stdout.write("testing IceGrid file lock... ")
+IceGridAdmin.iceGridPort = 12011
iceGrid = runIceGridRegistry()
-iceGrid.expect(".*IceUtil::FileLockedException.*")
+iceGrid.expect(".*IceUtil::FileLockException.*")
iceGrid.wait()
+IceGridAdmin.iceGridPort = 12010
print("ok")
IceGridAdmin.shutdownIceGridRegistry(registryProcs)