File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
scylla/tests/integration/session Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ async fn test_iter_works_when_retry_policy_returns_ignore_write_error() {
6464 create_ks += " and TABLETS = { 'enabled': false}" ;
6565 }
6666 session. ddl ( create_ks) . await . unwrap ( ) ;
67- session. use_keyspace ( ks, true ) . await . unwrap ( ) ;
67+ session. use_keyspace ( & ks, true ) . await . unwrap ( ) ;
6868 session
6969 . ddl ( "CREATE TABLE t (pk int PRIMARY KEY, v int)" )
7070 . await
@@ -99,6 +99,8 @@ async fn test_iter_works_when_retry_policy_returns_ignore_write_error() {
9999
100100 assert ! ( retried_flag. load( Ordering :: Relaxed ) ) ;
101101 while iter. try_next ( ) . await . unwrap ( ) . is_some ( ) { }
102+
103+ session. ddl ( format ! ( "DROP KEYSPACE {ks}" ) ) . await . unwrap ( ) ;
102104}
103105
104106#[ tokio:: test]
@@ -140,4 +142,6 @@ async fn test_iter_methods_with_modification_statements() {
140142 . await
141143 . ok_or ( ( ) )
142144 . unwrap_err ( ) ; // assert empty
145+
146+ session. ddl ( format ! ( "DROP KEYSPACE {ks}" ) ) . await . unwrap ( ) ;
143147}
You can’t perform that action at this time.
0 commit comments