File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
scylla/tests/integration/statements Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ async fn test_timestamp() {
123123 . collect :: < Vec < _ > > ( ) ;
124124
125125 assert_eq ! ( results, expected_results) ;
126+
127+ session. ddl ( format ! ( "DROP KEYSPACE {ks}" ) ) . await . unwrap ( ) ;
126128}
127129
128130#[ tokio:: test]
@@ -186,10 +188,14 @@ async fn test_timestamp_generator() {
186188 . into_rows_result ( )
187189 . unwrap ( ) ;
188190
189- let timestamps_locked = timestamps. lock ( ) . unwrap ( ) ;
190- assert ! ( query_rows_result
191- . rows:: <( i32 , i32 , i64 ) >( )
192- . unwrap( )
193- . map( |row_result| row_result. unwrap( ) )
194- . all( |( _a, _b, writetime) | timestamps_locked. contains( & writetime) ) ) ;
191+ {
192+ let timestamps_locked = timestamps. lock ( ) . unwrap ( ) ;
193+ assert ! ( query_rows_result
194+ . rows:: <( i32 , i32 , i64 ) >( )
195+ . unwrap( )
196+ . map( |row_result| row_result. unwrap( ) )
197+ . all( |( _a, _b, writetime) | timestamps_locked. contains( & writetime) ) ) ;
198+ }
199+
200+ session. ddl ( format ! ( "DROP KEYSPACE {ks}" ) ) . await . unwrap ( ) ;
195201}
You can’t perform that action at this time.
0 commit comments