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

Don't fail all ViewFilteringTest cases because one case timed out

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-rc1
    • Component/s: Test/unit
    • Labels:
      None

      Description

      When ViewFilteringTest creates a view, it is added to the list of created views. Those views are removed after each test cases. If creating a view fail, it is not added to the list of views to be dropped because the assumption is that when the command fails, the view should not be created. This is ok in general however it is not a valid assumption when we get operation timed out because we cannot say anything about its real result. This way, it is possible that the view gets created, the driver throws time out and we do not remove the created view. All other test cases which tries to create that view will fail because the view already exists.

      While it seems very improbable, we actually hit this a couple of times on our infrastructure

        Attachments

        1. screenshot-1.png
          198 kB
          Jacek Lewandowski
        2. screenshot-2.png
          243 kB
          Jacek Lewandowski
        3. screenshot-3.png
          91 kB
          Jacek Lewandowski

          Issue Links

            Activity

              People

              • Assignee:
                jlewandowski Jacek Lewandowski
                Reporter:
                jlewandowski Jacek Lewandowski
                Authors:
                Jacek Lewandowski
                Reviewers:
                Brandon Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 0.5h
                  0.5h