diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-05-21 09:51:58 -0230 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 12:22:56 +0200 |
commit | 23b297dc9c61e11d0dfb8be350752ec830cc110c (patch) | |
tree | ebb0d8c2dcdcf8160e8e9fbb519b4fe2d9f0505a /py/test/Ice/faultTolerance/run.py | |
parent | http://bugzilla/bugzilla/show_bug.cgi?id=3216 - mcastServer not initialized. (diff) | |
download | ice-23b297dc9c61e11d0dfb8be350752ec830cc110c.tar.bz2 ice-23b297dc9c61e11d0dfb8be350752ec830cc110c.tar.xz ice-23b297dc9c61e11d0dfb8be350752ec830cc110c.zip |
Bug 3189 - fix test scripts to use proper start functions
Diffstat (limited to 'py/test/Ice/faultTolerance/run.py')
-rwxr-xr-x | py/test/Ice/faultTolerance/run.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/py/test/Ice/faultTolerance/run.py b/py/test/Ice/faultTolerance/run.py index 010134d2046..5191ac0b503 100755 --- a/py/test/Ice/faultTolerance/run.py +++ b/py/test/Ice/faultTolerance/run.py @@ -36,10 +36,7 @@ base = 12340 for i in range(0, num): print "starting server #%d..." % (i + 1), sys.stdout.flush() - command = TestUtil.getCommandLine(server, TestUtil.DriverConfig("server")) + " %d" % (base + i) - if TestUtil.debug: - print "(" + command + ")", - serverPipe = os.popen(command + " 2>&1") + serverPipe = TestUtil.startServer(server, "%d" % (base + i)) TestUtil.getServerPid(serverPipe) TestUtil.getAdapterReady(serverPipe) print "ok" @@ -48,10 +45,7 @@ ports = "" for i in range(0, num): ports = "%s %d" % (ports, base + i) print "starting client...", -command = TestUtil.getCommandLine(client, TestUtil.DriverConfig("client")) + ports -if TestUtil.debug: - print "(" + command + ")", -clientPipe = os.popen(command + " 2>&1") +clientPipe = TestUtil.startClient(client, ports) print "ok" TestUtil.printOutputFromPipe(clientPipe) |