[ https://issues.apache.org/jira/browse/CASSANDRA-16639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Holmberg updated CASSANDRA-16639: -------------------------------------- Test and Documentation Plan: Run existing tests. Spun out another ticket to finish missing completion tests: https://issues.apache.org/jira/browse/CASSANDRA-16640 Status: Patch Available (was: In Progress) This happens when the [tempfile generated for keyspace name|https://github.com/apache/cassandra/blob/10a1d65eb09a93aee32948b46b4f1a0fbc2defe0/pylib/cqlshlib/test/cassconnect.py#L43-L44] contains a non-alphanumeric character as the last -- [spacing changes|https://github.com/apache/cassandra/blob/10a1d65eb09a93aee32948b46b4f1a0fbc2defe0/pylib/cqlshlib/cqlhandling.py#L221-L224]. I'm proposing to change the keyspace name to be more predictable: [patch|https://github.com/aholmberg/cassandra/pull/56] [ci|https://app.circleci.com/pipelines/github/aholmberg/cassandra?branch=CASSANDRA-16639] > cqlsh completion test fails sometimes > ------------------------------------- > > Key: CASSANDRA-16639 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16639 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: Adam Holmberg > Assignee: Adam Holmberg > Priority: Normal > Fix For: 4.0-rc > > > {noformat} > 'F EXISTS cqlshtests_9exbnsy_;' != 'F EXISTS cqlshtests_9exbnsy_ ;' > - F EXISTS cqlshtests_9exbnsy_; > + F EXISTS cqlshtests_9exbnsy_ ; > ? + > : cqlsh completed 'F EXISTS cqlshtests_9exbnsy_;', but we expected 'F EXISTS > cqlshtests_9exbnsy_ ;' > """Fail immediately, with the given message.""" > >> raise self.failureException("'F EXISTS cqlshtests_9exbnsy_;' != 'F EXISTS > >> cqlshtests_9exbnsy_ ;'\n- F EXISTS cqlshtests_9exbnsy_;\n+ F EXISTS > >> cqlshtests_9exbnsy_ ;\n? +\n : cqlsh completed > >> 'F EXISTS cqlshtests_9exbnsy_;', but we expected 'F EXISTS > >> cqlshtests_9exbnsy_ ;'") > {noformat} > https://ci-cassandra.apache.org/job/Cassandra-trunk/453/testReport/junit/cqlshlib.python3.jdk8.cython.test.test_cqlsh_completion/TestCqlshCompletion/test_complete_in_drop_keyspace/ -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org