Hello all,

The Cassandra Test Engineering team has been working on #6313, refactoring
cassandra-dtests to use the DataStax python driver used by cqlsh instead of
cassandra-dbapi2. The work has all been done in a branch on the
riptano/cassandra-dtest Github repository. The refactored tests have been
running on cassci since June 9 on the cassandra-2.1 branch. You can view
the changes either in the patch attached to 6313, or as a pull request on
the Github repository.

Our current plan is to make the merge sometime shortly after 2.1.0 is
released. Going forward after 6313 is resolved, all new dtests should be
written using the python-driver instead of dbapi2. The only new dependency
is the driver, and installation instructions will be available in the
README and INSTALL.md in dtests.

While the C* Test Engineering team will be reviewing all the changes for
the ticket, we welcome any additional set of eyes. Feel free to leave any
comments on either Github or JIRA.

Notable changes:
- Dtests no longer support versions older than 1.2.
- The cursor no longer has a fetch command, results from statements are now
returned directly from the cursor.execute() function

Notable constants:
- The API for dtest.py remains the same.
- Some thrift bindings remain for tests that absolutely required them.

Relevant links:
- Pull Request: https://github.com/riptano/cassandra-dtest/pull/89
- JIRA Ticket: https://issues.apache.org/jira/browse/CASSANDRA-6313
- Cassci job: http://cassci.datastax.com/job/cassandra-2.1_dtest_pydriver/

Thanks,
Philip Thompson

Reply via email to