On Fri, Jan 21, 2011 at 8:07 AM, Aaron Morton <aa...@thelastpickle.com>wrote:
> There is a truncate() function that will clear a CF. It may leave a > snapshot around, cannot remember exactly. > > Or you could drop and recreate the keyspace between tests using > system_add_keyspace() and system_drop_keyspace(). The system tests in the > test/system/__init__.py sort of do this. > Thanks Aaron. I will checkout both the options. If the existing system tests there are adding / dropping keyspace between tests, maybe it is not a very expensive operation after all. At the minimum, I can replace my clean-up with truncate() calls. Thanks a lot.