[ https://issues.apache.org/jira/browse/CASSANDRA-19026 ]


    Jacek Lewandowski deleted comment on CASSANDRA-19026:
    -----------------------------------------------

was (Author: jlewandowski):
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1082/workflows/05b74524-2fd4-4d02-8187-bbffb4278af7

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to