Fix KafkaFixture child stdout / stderr capture
This commit is contained in:
@@ -212,8 +212,8 @@ class KafkaFixture(Fixture):
|
|||||||
|
|
||||||
if proc.wait() != 0:
|
if proc.wait() != 0:
|
||||||
self.out("Failed to create Zookeeper chroot node")
|
self.out("Failed to create Zookeeper chroot node")
|
||||||
self.out(proc.stdout)
|
self.out(proc.stdout.read())
|
||||||
self.out(proc.stderr)
|
self.out(proc.stderr.read())
|
||||||
raise RuntimeError("Failed to create Zookeeper chroot node")
|
raise RuntimeError("Failed to create Zookeeper chroot node")
|
||||||
self.out("Done!")
|
self.out("Done!")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user