mirror of https://github.com/apache/cassandra
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:
parent
ef749086b0
commit
cc0eeb84f2
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue