summaryrefslogtreecommitdiff
path: root/test/integration.py
diff options
context:
space:
mode:
authorDavid Arthur <mumrah@gmail.com>2013-04-02 19:55:51 -0400
committerDavid Arthur <mumrah@gmail.com>2013-04-02 20:20:32 -0400
commitc275c023c5958c3b2b7d1aaf8642f2475d7780c8 (patch)
treea935408a6651558c541ca14759f2c8bdc472f23c /test/integration.py
parent2690a5da966176a9259dcb992e6a927aa9193c60 (diff)
downloadkafka-python-c275c023c5958c3b2b7d1aaf8642f2475d7780c8.tar.gz
Update kafka-src to latest trunk, enable 0.8.1 features
Diffstat (limited to 'test/integration.py')
-rw-r--r--test/integration.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/integration.py b/test/integration.py
index a1fcce7..609cfc6 100644
--- a/test/integration.py
+++ b/test/integration.py
@@ -6,6 +6,7 @@ import shlex
import shutil
import socket
import subprocess
+import sys
import tempfile
from threading import Thread, Event
import time
@@ -73,7 +74,8 @@ class KafkaFixture(Thread):
args = shlex.split("java -cp %s org.apache.zookeeper.ZooKeeperMain create /%s kafka-python" % (cp, self.zk_chroot))
proc = subprocess.Popen(args)
ret = proc.wait()
- assert ret == 0
+ if ret != 0:
+ sys.exit(1)
# Start Kafka
@@ -354,7 +356,6 @@ class TestKafkaClient(unittest.TestCase):
# Offset Tests #
####################
- @unittest.skip("No supported until 0.8.1")
def test_commit_fetch_offsets(self):
req = OffsetCommitRequest("test_commit_fetch_offsets", 0, 42, "metadata")
(resp,) = self.client.send_offset_commit_request("group", [req])