Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-16729

Fix flaky test user_types_test.py::TestUserTypes::test_type_keyspace_permission_isolation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • NA
    • Test/dtest/python
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dcapwell David Capwell
              dcapwell David Capwell
              David Capwell
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m