[
https://issues.apache.org/jira/browse/CASSANDRA-10544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968683#comment-14968683
]
Stefania commented on CASSANDRA-10544:
--------------------------------------
Patch for 2.1 [here|https://github.com/stef1927/cassandra/tree/10544-2.1]
CI:
http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-10544-2.1-dtest
[~blerer] would you mind reviewing?
> Make cqlsh tests work when authentication is configured
> -------------------------------------------------------
>
> Key: CASSANDRA-10544
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10544
> Project: Cassandra
> Issue Type: Bug
> Components: Tests, Tools
> Reporter: Adam Holmberg
> Assignee: Stefania
> Priority: Trivial
> Labels: cqlsh
> Fix For: 2.1.x, 2.2.x, 3.0.x
>
>
> cqlsh tests break if the runner has an authentication section in their
> ~/.cassandra/cqlshrc, because cqlsh changes the prompt and the tests scan
> output for a prompt. It manifests as read timeouts while waiting for a prompt
> in test/run_cqlsh.py.
> [This
> pattern|https://github.com/mambocab/cassandra/blob/1c27f9be1ba8ea10dbe843d513e23de6238dede8/pylib/cqlshlib/test/run_cqlsh.py#L30]
> could be generalized to match the "<username>@cqlsh..." prompt that arises
> with this config.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)