Hi folks, I have a test for this get_range_slice() weirdness that I'd like to integrate into the nose tests in
tests/system Is this stuff run regularly? "ant test" works great for me, but does not run the nosetests. When I run nosetests from the cassandra dir, I get this: $ nosetests E ====================================================================== ERROR: Failure: ImportError (No module named Cassandra) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/python/lib/python2.6/site-packages/nose-0.11.1-py2.6.egg/nose/loader.py", line 379, in loadTestsFromName addr.filename, addr.module) File "/usr/local/python/lib/python2.6/site-packages/nose-0.11.1-py2.6.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/local/python/lib/python2.6/site-packages/nose-0.11.1-py2.6.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/k/jack/cassandra/test/system/__init__.py", line 31, in <module> import Cassandra ImportError: No module named Cassandra ---------------------------------------------------------------------- Ran 1 test in 0.016s FAILED (errors=1) Which I think is because tests/system/__init__.py is out of date -- Line 29 _ipath = os.path.join(root, 'interface', 'gen-py') Should be _ipath = os.path.join(root, 'interface', 'thrift', 'gen-py') Ok. Fixed that, but then run nosetests and I get a bunch of other errors.. I must be doing something wrong. I just checked out the code like 20 mins ago. Also, I see that the tests are run on a single node rather than a multi-node setup. I would be nice if the testing infrastructure connected to a running cluster, and the standard storage-conf.xml included the column families necessary for testing. We could do that by including the test keyspaces in test/conf/storage-conf.xml as a part of the default storage-conf.xml that gets installed with the system. Best, Jack