Skip to content

Commit 473a06b

Browse files
committed
fix
1 parent ab0a6d5 commit 473a06b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/common/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ async fn ensure_region_split(
8080
// 1. write plenty transactional keys
8181
// 2. wait until regions split
8282

83-
let client = TransactionClient::new(pd_addrs()).await?;
83+
let client =
84+
TransactionClient::new_with_config(pd_addrs(), Config::default().with_default_keyspace())
85+
.await?;
8486
let mut txn = client.begin_optimistic().await?;
8587
for key in keys.into_iter() {
8688
txn.put(key.into(), vec![0, 0, 0, 0]).await?;

0 commit comments

Comments
 (0)