From cc0eeb84f2d2d12f9c4cee08707dcceb7fe2327e Mon Sep 17 00:00:00 2001 From: Eric Evans Date: Mon, 5 Apr 2010 17:01:38 +0000 Subject: [PATCH] updated func tests for latest version of python avro Patch by eevans git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@930905 13f79535-47bb-0310-9956-ffa450edef68 --- test/system/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/system/__init__.py b/test/system/__init__.py index 2cc1164e81..726f3e7646 100644 --- a/test/system/__init__.py +++ b/test/system/__init__.py @@ -47,9 +47,7 @@ thrift_client = get_thrift_client() def get_avro_client(host='127.0.0.1', port=9170): schema = os.path.join(root, 'interface', 'cassandra.avpr') proto = protocol.parse(open(schema).read()) - conn = httplib.HTTPConnection(host, port) - conn.connect() - client = ipc.HTTPTransceiver(conn) + client = ipc.HTTPTransceiver(host, port) return ipc.Requestor(proto, client) pid_fname = "system_test.pid"