diff options
author | Jose <jose@zeroc.com> | 2009-12-12 08:00:34 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-12-12 08:00:34 +0100 |
commit | 55d77dec88404da393326570bb39cdde0cd743c2 (patch) | |
tree | 42c57d5f9f470e07233d6bae46750ccd0e39bfb9 /java/test/Freeze/fileLock/run.py | |
parent | 4471 read(std::vector<bool>) in Stream. (diff) | |
download | ice-55d77dec88404da393326570bb39cdde0cd743c2.tar.bz2 ice-55d77dec88404da393326570bb39cdde0cd743c2.tar.xz ice-55d77dec88404da393326570bb39cdde0cd743c2.zip |
Minor fixes to several test scripts.
Diffstat (limited to 'java/test/Freeze/fileLock/run.py')
-rwxr-xr-x | java/test/Freeze/fileLock/run.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/test/Freeze/fileLock/run.py b/java/test/Freeze/fileLock/run.py index 532c2b3eb68..e5b53b4f892 100755 --- a/java/test/Freeze/fileLock/run.py +++ b/java/test/Freeze/fileLock/run.py @@ -34,15 +34,17 @@ clientExe.expect('File lock acquired.\.*') clientFailExe = TestUtil.startClient(clientFail, "", None, None, False) clientFailExe.expect('File lock not acquired.') +clientFailExe.wait() # send some output to client to terminate it. clientExe.sendline('go') clientExe.expect('File lock released.') +clientExe.wait() # The lock is gone try to acquire it again. clientExe = TestUtil.startClient(client, "", None, None, False) clientExe.expect('File lock acquired.\.*') clientExe.sendline('go') clientExe.expect('File lock released.') - +clientExe.wait() print "ok" |