Skip to content

Commit a474ff6

Browse files
committed
history it: teardown keyspaces
1 parent c9eafc9 commit a474ff6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scylla/tests/integration/session/history.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ async fn iterator_query_history() {
219219
.ddl(format!("CREATE KEYSPACE {ks} WITH REPLICATION = {{'class' : 'NetworkTopologyStrategy', 'replication_factor' : 1}}"))
220220
.await
221221
.unwrap();
222-
session.use_keyspace(ks, true).await.unwrap();
222+
session.use_keyspace(&ks, true).await.unwrap();
223223

224224
session
225225
.ddl("CREATE TABLE t (p int primary key)")
@@ -295,4 +295,6 @@ async fn iterator_query_history() {
295295
);
296296

297297
assert!(displayed_str.starts_with(displayed_prefix),);
298+
299+
session.ddl(format!("DROP KEYSPACE {ks}")).await.unwrap();
298300
}

0 commit comments

Comments
 (0)