You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Regression test for https://github.com/scylladb/scylla-rust-driver/issues/1448
156
+
// PR with fix: https://github.com/scylladb/scylla-rust-driver/pull/1449
157
+
#[tokio::test]
158
+
asyncfntest_iter_methods_when_altering_table(){
159
+
let session = create_new_session_builder().build().await.unwrap();
160
+
let ks = unique_keyspace_name();
161
+
162
+
session.ddl(format!("CREATE KEYSPACE IF NOT EXISTS {ks} WITH REPLICATION = {{'class' : 'NetworkTopologyStrategy', 'replication_factor' : 1}}")).await.unwrap();
163
+
session
164
+
.ddl(format!(
165
+
"CREATE TABLE IF NOT EXISTS {ks}.t (a int, b int, d int, primary key (a, b))"
166
+
))
167
+
.await
168
+
.unwrap();
169
+
170
+
let insert_stmt = session
171
+
.prepare(format!("INSERT INTO {ks}.t (a, b, d) VALUES (?, ?, ?)"))
0 commit comments