Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andylokandy committed Dec 17, 2023
1 parent ab0a6d5 commit 473a06b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ async fn ensure_region_split(
// 1. write plenty transactional keys
// 2. wait until regions split

let client = TransactionClient::new(pd_addrs()).await?;
let client =
TransactionClient::new_with_config(pd_addrs(), Config::default().with_default_keyspace())
.await?;
let mut txn = client.begin_optimistic().await?;
for key in keys.into_iter() {
txn.put(key.into(), vec![0, 0, 0, 0]).await?;
Expand Down

0 comments on commit 473a06b

Please sign in to comment.