You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jacek Lewandowski (Jira)" <ji...@apache.org> on 2021/03/12 09:22:00 UTC

[jira] [Created] (CASSANDRA-16515) Don't fail all ViewFilteringTest cases because one case timed out

Jacek Lewandowski created CASSANDRA-16515:
---------------------------------------------

             Summary: Don't fail all ViewFilteringTest cases because one case timed out
                 Key: CASSANDRA-16515
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16515
             Project: Cassandra
          Issue Type: Bug
          Components: Test/unit
            Reporter: Jacek Lewandowski
            Assignee: Jacek Lewandowski


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




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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org