[ 
https://issues.apache.org/jira/browse/CASSANDRA-9160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576616#comment-14576616
 ] 

Stefania commented on CASSANDRA-9160:
-------------------------------------

Backporting wasn't that hard. I've attached a patch for 2.1 and one for 2.2. 
The main differences between the two patches are missing tests in 2.1 (those 
dtests which were marked as >= 2.2) and some differences in expected behavior.

The 2.2 and trunk patches should be equivalent and the trunk patch can be 
discarded in favor of a merge of the 2.2 patch.

CI results:

http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-9160-2.1-testall/
http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-9160-2.1-dtest/
http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-9160-2.2-testall/
http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-9160-2.2-dtest/
http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-9160-testall/
http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-9160-dtest/

> Migrate CQL dtests to unit tests
> --------------------------------
>
>                 Key: CASSANDRA-9160
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9160
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sylvain Lebresne
>            Assignee: Stefania
>
> We have CQL tests in 2 places: dtests and unit tests. The unit tests are 
> actually somewhat better in the sense that they have the ability to test both 
> prepared and unprepared statements at the flip of a switch. It's also better 
> to have all those tests in the same place so we can improve the test 
> framework in only one place (CASSANDRA-7959, CASSANDRA-9159, etc...). So we 
> should move the CQL dtests to the unit tests (which will be a good occasion 
> to organize them better).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to