You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jacek Lewandowski (Jira)" <ji...@apache.org> on 2023/09/05 13:39:00 UTC
[jira] [Commented] (CASSANDRA-18821) org.apache.cassandra.distributed.test.guardrails.GuardrailDiskUsageTest failed with Authentication error on host /127.0.0.1:9042: Provided username cassandra and/or password are incorrect
[ https://issues.apache.org/jira/browse/CASSANDRA-18821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762092#comment-17762092 ]
Jacek Lewandowski commented on CASSANDRA-18821:
-----------------------------------------------
The problem in this test (and perhaps other flaky test which fail in the same way) is that creating the superuser may happen too late, actually after we try to connect to the cluster with the driver. In this case, we end up with exceptions like that.
I managed to reproduce this problem by increasing {{cassandra.superuser_setup_delay_ms}} to 30 seconds.
My plan to fix this is to make the tests wait at most {{cassandra.superuser_setup_delay_ms}}, asserting the existence of the superuser (for the distributed tests), and reducing that delay to 0 for the unit tests.
> org.apache.cassandra.distributed.test.guardrails.GuardrailDiskUsageTest failed with Authentication error on host /127.0.0.1:9042: Provided username cassandra and/or password are incorrect
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-18821
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18821
> Project: Cassandra
> Issue Type: Bug
> Components: Test/dtest/java
> Reporter: Jacek Lewandowski
> Assignee: Jacek Lewandowski
> Priority: Normal
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org