Skip to content
Snippets Groups Projects
Commit 962a7c3a authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

macos-fix-xlog_rpl: somehow python subprocess.wait act broken

under Mac OS (unreasonable stalls), changing to the subprocess.communicate with the same
functonality
parent 8bf2a880
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,8 @@ from lib.tarantool_box_server import TarantoolBoxServer
p = subprocess.Popen([os.path.join(builddir, "test/connector_c/xlog"),
os.path.join(builddir, "test/connector_c/connector.xlog")],
stdout=subprocess.PIPE)
p.wait()
for line in p.stdout.readlines():
sys.stdout.write(line)
o,e = p.communicate()
sys.stdout.write(o)
server.stop()
server.deploy("connector_c/cfg/master.cfg")
......@@ -25,9 +24,8 @@ print ""
p = subprocess.Popen([os.path.join(builddir, "test/connector_c/rpl"),
"127.0.0.1", "33016", "1200"],
stdout=subprocess.PIPE)
p.wait()
for line in p.stdout.readlines():
sys.stdout.write(line)
o,e = p.communicate()
sys.stdout.write(o)
server.stop()
server.deploy()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment