[ https://issues.apache.org/jira/browse/CASSANDRA-10544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970968#comment-14970968 ]
Adam Holmberg commented on CASSANDRA-10544: ------------------------------------------- +1 tested with several different usernames, with/without an auth section in the config. > 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, test > 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)