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

Brandon Williams commented on CASSANDRA-17465:
----------------------------------------------

Not sure where we are with this ticket, but here's a 
[branch|https://github.com/driftx/cassandra/tree/CASSANDRA-17465] and circle: 
[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/440/workflows/42f936c7-2ede-4fbf-957c-5fb4e461dd90],
 
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/440/workflows/ef78eb31-000f-47c6-b894-c7879d83b0be].

> python unit tests don't cleanup test keyspace
> ---------------------------------------------
>
>                 Key: CASSANDRA-17465
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17465
>             Project: Cassandra
>          Issue Type: Task
>          Components: CQL/Interpreter
>            Reporter: Brad Schoening
>            Assignee: Brad Schoening
>            Priority: Normal
>             Fix For: 4.x
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The python unit tests in pylib/cqlshlib creates a temporary keyspace 
> cqlshtests_xxxxxxxx, but does not drop it upon completion.
> To reproduce:
> {code:java}
> $ pytest
> $ cqlsh
> cassandra@cqlsh> describe keyspaces
> cqlshtests_oatjjlyyxh ...
> {code}
> The above keyspace, created with a 10 character random suffix, will remain 
> after the tests are run.  This will then cause subsequent runs of 
> test_cqlsh_completion to fail.
>  
> {code:java}
> cqlshlib/test/test_cqlsh_completion.py:138: in _trycompletions_inner
> E   AssertionError: Items in the second set but not the first:
> E   'cqlshtests_oatjjlyyxh'
> {code}
> test/cassconnect.py;'s remove_db() has the code to perform this, but does not 
> seem to be properly called.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to