[ 
https://issues.apache.org/jira/browse/CASSANDRA-19026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17787285#comment-17787285
 ] 

Jacek Lewandowski commented on CASSANDRA-19026:
-----------------------------------------------

Async cleanup was a source of flakiness. The speedup comes from other changes 
like avoiding unnecessary flushes.

> Do not drop CQLTester.KEYSPACE content in @After asynchronously
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-19026
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19026
>             Project: Cassandra
>          Issue Type: Task
>          Components: Test/unit
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.1
>
>
> CASSANDRA-18710 showed that removal of tables, views, functions, etc. in 
> {{@After}} method asynchronously may span the next test case and modify that 
> test behaviour in some unexpected way
> Concretely, {{@After}} method includes dropping {{KEYSPACE_PER_TEST}} 
> synchronously and the whole content of {{KEYSPACE}} asynchronously. I don't 
> see a reason for dropping the content of {{KEYSPACE}} after each test because 
> that keyspace is not expected to be clean for each test case. It is the case 
> for {{KEYSPACE_PER_TEST}}. Therefore I propose removal of that async cleanup 
> of {{KEYSPACE}} after each test case.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to