cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "HowToContribute" by Joe Stein
Date Mon, 27 Jun 2011 21:24:50 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "HowToContribute" page has been changed by Joe Stein:
http://wiki.apache.org/cassandra/HowToContribute?action=diff&rev1=37&rev2=38

Comment:
failed nosetests without the cql driver being installed first

  Setting up and running system tests:
  
  === Running the functional tests for Thrift RPC ===
+  1. Install CQL: `svn checkout https://svn.apache.org/repos/asf/cassandra/drivers; cd drivers/py;
python setup.py build; sudo python setup.py install`.
   1. Install the [[http://somethingaboutorange.com/mrl/projects/nose/0.11.1/|nose]] test
runner (`aptitude install python-nose`, `easy_install nose`, etc).
   1. Install the Thrift compiler (see InstallThrift) and Python libraries (`cd thrift/lib/py
&& python setup.py install`).
   1. Generate Cassandra's Python code using `ant gen-thrift-py`.
+  1. Build the source `ant clean build`.
   1. Run `nosetests test/system/` from the top-level source directory.
  
  If you need to modify the system tests, you probably only need to care about test/system/test_thrift_server.py.
 (test/system/__init__.py takes care of spawning new cassandra instances for each test and
cleaning up afterwards so they are isolated.)

Mime
View raw message