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 8ABF4182B5 for ; Sat, 10 Oct 2015 02:01:05 +0000 (UTC) Received: (qmail 87753 invoked by uid 500); 10 Oct 2015 02:01:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 87714 invoked by uid 500); 10 Oct 2015 02:01:05 -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 87701 invoked by uid 99); 10 Oct 2015 02:01:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2015 02:01:05 +0000 Date: Sat, 10 Oct 2015 02:01:05 +0000 (UTC) From: "Stefania (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10415) Fix cqlsh bugs 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-10415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951501#comment-14951501 ] Stefania commented on CASSANDRA-10415: -------------------------------------- Thanks, I still need to work on the 2.1 and 3.0 versions but the 2.2 patch should be complete. The are still 2 failing tests but those are because of CASSANDRA-10397 and CASSANDRA-10487. I do have a doubt about the changes I made to {{term}}, basically I reverted CASSANDRA-7556 and I haven't given it too much thought on whether there is a better way to define it. > Fix cqlsh bugs > -------------- > > Key: CASSANDRA-10415 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10415 > Project: Cassandra > Issue Type: Sub-task > Reporter: Jim Witschey > Assignee: Stefania > Labels: cqlsh > Fix For: 2.1.x, 2.2.x, 3.0.0 rc2 > > > This is followup to CASSANDRA-10289 > The tests currently failing should be: > * {{cqlshlib.test.test_cqlsh_completion.TestCqlshCompletion.test_complete_in_create_columnfamily}} > ** uses {{create_columnfamily_table_template}}. Stefania says "the {{(}} after {{CREATE ... IF}} does not look valid to me." > * {{cqlshlib.test.test_cqlsh_completion.TestCqlshCompletion.test_complete_in_create_table}} > ** uses {{create_columnfamily_table_template}}, see above. > * {{cqlshlib.test.test_cqlsh_completion.TestCqlshCompletion.test_complete_in_delete}} > ** Stefania says: "I don't think keyspaces are a valid completion after {{DELETE a [}} and after {{DELETE FROM twenty_rows_composite_table USING TIMESTAMP 0 WHERE TOKEN(a) >=}}. From a quick analysis of {{cqlhandling.py}} I think it comes from {{}}, which picks up {{}}, which was changed to include {{ks.}} by CASSANDRA-7556. > * {{cqlshlib.test.test_cqlsh_completion.TestCqlshCompletion.test_complete_in_drop_keyspace}} > ** Stefania says: "the {{;}} after {{DROP KEYSPACE IF}} is not valid. > * {{cqlshlib.test.test_cqlsh_output.TestCqlshOutput.test_timestamp_output}} > ** already documented with CASSANDRA-10313 and CASSANDRA-10397 > I'm happy to break these out into separate tickets if necessary. > To run the tests locally, I cd to {{cassandra/pylib/cqlshlib}} and run the following: > {code} > ccm create -n 1 --install-dir=../.. test > ccm start --wait-for-binary-proto > nosetests test 2>&1 > ccm remove > {code} > This requires nose and ccm. Until CASSANDRA-10289 is resolved, you'll have to use my branch here: https://github.com/mambocab/cassandra/tree/fix-cqlsh-tests > Tests for this branch are run (non-continuously) here: > http://cassci.datastax.com/job/scratch_mambocab-fix_cqlsh/ > Assigning [~Stefania] for now, since she's already looked at 10289, but feel free to reassign. -- This message was sent by Atlassian JIRA (v6.3.4#6332)