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

David Capwell commented on CASSANDRA-16729:
-------------------------------------------

been running the patch in a loop and see its stable, and logs

{code}
23:29:21,184 tools.flaky INFO Retrying as error 'Error from server: code=2200 
[Invalid query] message="Cannot process role related query as the role manager 
isn't yet setup. This is likely because some of nodes in the cluster are on 
versi
on 2.1 or earlier. You need to upgrade all nodes to Cassandra 2.2 or more to 
use roles."' was seen; sleeping for 10 seconds
23:29:34,110 cassandra.cluster INFO New Cassandra host <Host: 127.0.0.3:9042 
datacenter1> discovered
23:29:34,114 cassandra.cluster INFO New Cassandra host <Host: 127.0.0.2:9042 
datacenter1> discovered
23:29:34,225 cassandra.cluster INFO New Cassandra host <Host: 127.0.0.3:9042 
datacenter1> discovered
23:29:34,230 cassandra.cluster INFO New Cassandra host <Host: 127.0.0.2:9042 
datacenter1> discovered
PASSED
{code}

> Fix flaky test 
> user_types_test.py::TestUserTypes::test_type_keyspace_permission_isolation
> -----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16729
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16729
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 4.0-rc2
>
>
> user_types_test.py::TestUserTypes::test_type_keyspace_permission_isolation 
> adds a 5 second sleep to give time for roles to load, this causes tests to 
> fail from time to time.  Rather than hoping the roles are loaded, we can 
> retry if the expected error is seen.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to