Skip to content
Permalink
Browse files
modified test_cqlsh.py test for CASSANDRA-16456
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-16456
  • Loading branch information
smiklosovic committed Apr 27, 2022
1 parent 5e06a1f commit 062ebe5a9fe40b8ebfd9cc44ed025889dd6cbccd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2253,7 +2253,7 @@ def test_passwd_warnings(self):

with NamedTemporaryFile(mode='wt') as credentialsfile:
# Ensure the credentials file specified in the command line options is used
credentialsfile.write('[plain_text_auth]\nusername=cassandra\npassword=cassandra\n')
credentialsfile.write('[PlainTextAuthProvider]\nusername=cassandra\npassword=cassandra\n')
credentialsfile.flush()
os.chmod(credentialsfile.name, stat.S_IRUSR | stat.S_IWUSR)
cqlsh_options = ['--credentials', credentialsfile.name]

0 comments on commit 062ebe5

Please sign in to comment.