You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2021/11/29 11:28:00 UTC

[jira] [Commented] (CASSANDRA-17173) Flaky GrantAndRevokeTest

    [ https://issues.apache.org/jira/browse/CASSANDRA-17173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450384#comment-17450384 ] 

Berenguer Blasi commented on CASSANDRA-17173:
---------------------------------------------

I couldn't repro locally. But some modifications to wait for the auth changes to be effective pass 1K runs now.

> Flaky GrantAndRevokeTest
> ------------------------
>
>                 Key: CASSANDRA-17173
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17173
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>
> See [here|https://ci-cassandra.apache.org/job/Cassandra-trunk/869/testReport/junit/org.apache.cassandra.auth/GrantAndRevokeTest/testGrantedKeyspace_cdc/]
> {noformat}
> junit.framework.AssertionFailedError: Expected error message to contain 'User user has no MODIFY permission on <table cql_test_keyspace_alt.table_06> or any of its parents', but got 'You do not have access to this datacenter (datacenter1)'
> 	at org.apache.cassandra.cql3.CQLTester.assertMessageContains(CQLTester.java:1782)
> 	at org.apache.cassandra.cql3.CQLTester.assertInvalidThrowMessage(CQLTester.java:1721)
> 	at org.apache.cassandra.cql3.CQLTester.assertUnauthorizedQuery(CQLTester.java:1794)
> 	at org.apache.cassandra.auth.GrantAndRevokeTest.testGrantedKeyspace(GrantAndRevokeTest.java:64)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org