Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A45EE17569 for ; Mon, 8 Jun 2015 05:31:01 +0000 (UTC) Received: (qmail 41470 invoked by uid 500); 8 Jun 2015 05:31:01 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 41438 invoked by uid 500); 8 Jun 2015 05:31:01 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 41425 invoked by uid 99); 8 Jun 2015 05:31:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2015 05:31:01 +0000 Date: Mon, 8 Jun 2015 05:31:01 +0000 (UTC) From: "Stefania (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9160) Migrate CQL dtests to unit tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)