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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: NA
    • Component/s: Test/dtest/python
    • Labels:
      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

              • Assignee:
                dcapwell David Capwell
                Reporter:
                dcapwell David Capwell
                Authors:
                David Capwell
                Reviewers:
                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