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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-rc1, 4.0
    • Test/unit
    • 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-3.png
          91 kB
          Jacek Lewandowski
        2. screenshot-2.png
          243 kB
          Jacek Lewandowski
        3. screenshot-1.png
          198 kB
          Jacek Lewandowski

        Issue Links

          Activity

            People

              jlewandowski Jacek Lewandowski
              jlewandowski Jacek Lewandowski
              Jacek Lewandowski
              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 - 40m
                  40m