[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/o
[ https://issues.apache.org/jira/browse/CASSANDRA-18821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762104#comment-17762104 ] Jeremiah Jordan commented on CASSANDRA-18821: - Yes. There appear to be many tests which do that already. For example: [https://github.com/apache/cassandra/blob/trunk/test/distributed/org/apache/cassandra/distributed/test/UpdateSystemAuthAfterDCExpansionTest.java#L118] I wonder if dtests should just always set the delay to 0. > 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-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[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/o
[ 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-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org