Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7163604
D2895.id10302.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
413 B
Subscribers
None
D2895.id10302.diff
View Options
diff --git a/swh/storage/tests/test_cassandra.py b/swh/storage/tests/test_cassandra.py
--- a/swh/storage/tests/test_cassandra.py
+++ b/swh/storage/tests/test_cassandra.py
@@ -177,6 +177,8 @@
for table in TABLES:
storage._cql_runner._session.execute('TRUNCATE TABLE "%s"' % table)
+ storage._cql_runner._cluster.shutdown()
+
@pytest.mark.cassandra
class TestCassandraStorage(_TestStorage):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jan 30 2025, 11:10 AM (6 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3215832
Attached To
D2895: Shut down the cassandra connection when tearing down the text fixture
Event Timeline
Log In to Comment