summaryrefslogtreecommitdiff
path: root/test/fixtures.py
diff options
context:
space:
mode:
authorMark Roberts <wizzat@gmail.com>2015-01-15 00:49:46 -0800
committerMark Roberts <wizzat@gmail.com>2015-01-15 00:49:46 -0800
commite6b37c00c5b0a52f821b35a4e26c0943f3e05b07 (patch)
tree14b58764d5d711360d04606e10cec7dc6d6400af /test/fixtures.py
parent28a838516b3feb81c3c7f7fbd6aad2391a4139c5 (diff)
parent21a5ca834b9e0831b29870b5d099263892f21a7d (diff)
downloadkafka-python-e6b37c00c5b0a52f821b35a4e26c0943f3e05b07.tar.gz
Merge pull request #295 from dpkp/kafka_0_8_2
Kafka 0.8.2.0 updates
Diffstat (limited to 'test/fixtures.py')
-rw-r--r--test/fixtures.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixtures.py b/test/fixtures.py
index b286619..3c496fd 100644
--- a/test/fixtures.py
+++ b/test/fixtures.py
@@ -123,7 +123,7 @@ class ZookeeperFixture(Fixture):
# Party!
self.out("Starting...")
self.child.start()
- self.child.wait_for(r"Snapshotting")
+ self.child.wait_for(r"binding to port")
self.out("Done!")
def close(self):
@@ -212,8 +212,8 @@ class KafkaFixture(Fixture):
if proc.wait() != 0:
self.out("Failed to create Zookeeper chroot node")
- self.out(proc.stdout)
- self.out(proc.stderr)
+ self.out(proc.stdout.read())
+ self.out(proc.stderr.read())
raise RuntimeError("Failed to create Zookeeper chroot node")
self.out("Done!")