Author: eevans
Date: Mon Apr  5 17:01:38 2010
New Revision: 930905

URL: http://svn.apache.org/viewvc?rev=930905&view=rev
Log:
updated func tests for latest version of python avro

Patch by eevans

Modified:
    cassandra/trunk/test/system/__init__.py

Modified: cassandra/trunk/test/system/__init__.py
URL: 
http://svn.apache.org/viewvc/cassandra/trunk/test/system/__init__.py?rev=930905&r1=930904&r2=930905&view=diff
==============================================================================
--- cassandra/trunk/test/system/__init__.py (original)
+++ cassandra/trunk/test/system/__init__.py Mon Apr  5 17:01:38 2010
@@ -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"


Reply via email to