Adam Holmberg created CASSANDRA-10544:
-----------------------------------------

             Summary: 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
            Priority: Trivial
             Fix For: 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)

Reply via email to