You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2022/03/21 18:13:00 UTC
[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace
[ https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-17465:
-----------------------------------------
Change Category: Quality Assurance
Complexity: Normal
Component/s: CQL/Interpreter
Fix Version/s: 4.x
Status: Open (was: Triage Needed)
> 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
> Priority: Normal
> Fix For: 4.x
>
>
> The python unit test pylib/cqlshlib create temporary keyspace cqlshtests_xxxxxxxx, but don't drop it upon completion.
> To reproduce:
> $ pytest
> $ cqlsh
> cassandra@cqlsh> describe keyspaces
> cqlshtests_oatjjlyyxh ...
> The above keyspace, with a random suffix, will remain after the tests are run. This will then cause subsequent runs of test_cqlsh_completion to fail.
> *cqlshlib/test/test_cqlsh_completion.py*:138: in _trycompletions_inner
> *E AssertionError: Items in the second set but not the first:*
> *E 'cqlshtests_oatjjlyyxh'*
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org