Skip to content

Commit

Permalink
test: disable tablets for test_batch_lwts
Browse files Browse the repository at this point in the history
  • Loading branch information
muzarski committed Jun 12, 2024
1 parent 086e3bc commit a908f83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scylla/src/transport/session_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2424,7 +2424,11 @@ async fn test_batch_lwts() {
let session = create_new_session_builder().build().await.unwrap();

let ks = unique_keyspace_name();
session.query(format!("CREATE KEYSPACE IF NOT EXISTS {} WITH REPLICATION = {{'class' : 'NetworkTopologyStrategy', 'replication_factor' : 1}}", ks), &[]).await.unwrap();
let mut create_ks = format!("CREATE KEYSPACE {} WITH REPLICATION = {{'class': 'NetworkTopologyStrategy', 'replication_factor': 1}}", ks);
if scylla_supports_tablets(&session).await {
create_ks += " and TABLETS = { 'enabled': false}";
}
session.query(create_ks, &[]).await.unwrap();
session.use_keyspace(ks.clone(), false).await.unwrap();

session
Expand Down

0 comments on commit a908f83

Please sign in to comment.