Commit 6b852e75 authored by Jérome Perrin's avatar Jérome Perrin

tests/slapproxy: capture child slapos proxy output

otherwise it goes in the console.
Also add missing close_fds=True
parent 2f27460f
......@@ -1031,6 +1031,9 @@ database_uri = %(tempdir)s/lib/external_proxy.db
sys.executable, '%s/../cli/entry.py' % os.path.dirname(slapos.tests.__file__),
'proxy', 'start', '--cfg', self.external_slapproxy_configuration_file_location
],
close_fds=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
env={"PYTHONPATH": ':'.join(sys.path)}
)
# Wait a bit for proxy to be started
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment