[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-04-20 Thread Brandon Williams (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-17465:
-
  Fix Version/s: 4.1
 (was: 4.x)
Source Control Link: 
https://github.com/apache/cassandra/commit/0d860ec662b0088ea7f77f98051121e198eb5692
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

Committed, thanks.

> 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.1
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The python unit tests in pylib/cqlshlib creates a temporary keyspace 
> cqlshtests_, 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-04-20 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-17465:
--
Status: Ready to Commit  (was: Review In Progress)

> 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: 1h 10m
>  Remaining Estimate: 0h
>
> The python unit tests in pylib/cqlshlib creates a temporary keyspace 
> cqlshtests_, 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-04-20 Thread Brandon Williams (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-17465:
-
Reviewers: Brandon Williams, Stefan Miklosovic  (was: Stefan Miklosovic)

> 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_, 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-03-22 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-17465:
--
Reviewers: Stefan Miklosovic
   Status: Review In Progress  (was: Patch Available)

> 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 tests in pylib/cqlshlib creates a temporary keyspace 
> cqlshtests_, 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



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-03-22 Thread Brad Schoening (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Schoening updated CASSANDRA-17465:
---
Description: 
The python unit tests in pylib/cqlshlib creates a temporary keyspace 
cqlshtests_, 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.

  was:
The python unit test pylib/cqlshlib creates a temporary keyspace 
cqlshtests_, 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.


> 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 tests in pylib/cqlshlib creates a temporary keyspace 
> cqlshtests_, 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



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-03-22 Thread Brad Schoening (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Schoening updated CASSANDRA-17465:
---
Test and Documentation Plan: Ran pytest and with cqlsh observed temporary 
keyspace is dropped
 Status: Patch Available  (was: Open)

> 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_, 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



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-03-21 Thread Brad Schoening (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Schoening updated CASSANDRA-17465:
---
Description: 
The python unit test pylib/cqlshlib creates a temporary keyspace 
cqlshtests_, 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.

  was:
The python unit test pylib/cqlshlib creates a temporary keyspace 
cqlshtests_, 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}
 


> 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 creates a temporary keyspace 
> cqlshtests_, 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



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-03-21 Thread Brad Schoening (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Schoening updated CASSANDRA-17465:
---
Description: 
The python unit test pylib/cqlshlib creates a temporary keyspace 
cqlshtests_, 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}
 

  was:
The python unit test pylib/cqlshlib creates a temporary keyspace 
cqlshtests_, but does not drop it upon completion.

To reproduce:

 
{code:java}
$ pytest
$ cqlsh
cassandra@cqlsh> describe keyspaces
cqlshtests_oatjjlyyxh ...
{code}
 

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'*


> 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 creates a temporary keyspace 
> cqlshtests_, 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}
>  



--
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



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-03-21 Thread Brad Schoening (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Schoening updated CASSANDRA-17465:
---
Description: 
The python unit test pylib/cqlshlib creates a temporary keyspace 
cqlshtests_, but does not drop it upon completion.

To reproduce:

 
{code:java}
$ pytest
$ cqlsh
cassandra@cqlsh> describe keyspaces
cqlshtests_oatjjlyyxh ...
{code}
 

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'*

  was:
The python unit test pylib/cqlshlib create temporary keyspace 
cqlshtests_, 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'*


> 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 creates a temporary keyspace 
> cqlshtests_, but does not drop it upon completion.
> To reproduce:
>  
> {code:java}
> $ pytest
> $ cqlsh
> cassandra@cqlsh> describe keyspaces
> cqlshtests_oatjjlyyxh ...
> {code}
>  
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17465) python unit tests don't cleanup test keyspace

2022-03-21 Thread Brandon Williams (Jira)


 [ 
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_, 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org