[ https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Schoening reassigned CASSANDRA-17465: ------------------------------------------ Assignee: Brad Schoening > 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 > > > The python unit test 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.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org