Skip to content

Commit

Permalink
fix batch size error
Browse files Browse the repository at this point in the history
  • Loading branch information
conorbros committed Feb 8, 2024
1 parent d89b89d commit a59c2be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async fn large_batch(connection: &CassandraConnection) {
let random_bytes = rand::thread_rng().gen::<[u8; 32]>();

let mut queries = Vec::new();
for id in 0..1000 {
for id in 0..500 {
let statement = format!(
"INSERT INTO batch_keyspace.my_table (id, data) VALUES ({}, 0x{})",
id,
Expand Down
2 changes: 1 addition & 1 deletion shotover-proxy/tests/cassandra_int_tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ where
// functions::test(&connection).await;
prepared_statements_simple::test(&connection, connection_creator, 1).await;
prepared_statements_all::test(&connection, 1).await;
// batch_statements::test(&connection).await;
batch_statements::test(&connection).await;
timestamp::test(&connection).await;
}

Expand Down

0 comments on commit a59c2be

Please sign in to comment.