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
This commit is contained in:
Eric Evans 2010-04-05 17:01:38 +00:00
parent ef749086b0
commit cc0eeb84f2
1 changed files with 1 additions and 3 deletions

View File

@ -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"