mirror of https://github.com/tikv/client-rust.git
CI: increase region-split-keys
Signed-off-by: ekexium <ekexium@gmail.com>
This commit is contained in:
parent
218bae0c83
commit
c5701660e6
|
@ -1,6 +1,6 @@
|
||||||
[coprocessor]
|
[coprocessor]
|
||||||
region-max-keys = 5
|
region-max-keys = 10
|
||||||
region-split-keys = 3
|
region-split-keys = 7
|
||||||
batch-split-limit = 100
|
batch-split-limit = 100
|
||||||
|
|
||||||
[raftstore]
|
[raftstore]
|
||||||
|
|
|
@ -19,10 +19,3 @@ pub async fn get_region_count() -> Result<u64> {
|
||||||
.as_u64()
|
.as_u64()
|
||||||
.ok_or_else(|| Error::StringError("pd region count does not return an integer".to_owned()))
|
.ok_or_else(|| Error::StringError("pd region count does not return an integer".to_owned()))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
|
||||||
#[ignore]
|
|
||||||
async fn test_get_region_count() -> Result<()> {
|
|
||||||
println!("{}", get_region_count().await?);
|
|
||||||
Ok(())
|
|
||||||
}
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ pub async fn init() -> Result<()> {
|
||||||
.take(count as usize - 1)
|
.take(count as usize - 1)
|
||||||
.map(|x| x.to_be_bytes().to_vec());
|
.map(|x| x.to_be_bytes().to_vec());
|
||||||
|
|
||||||
ensure_region_split(keys_1.chain(keys_2), 100).await?;
|
ensure_region_split(keys_1.chain(keys_2), 80).await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
clear_tikv().await;
|
clear_tikv().await;
|
||||||
|
|
Loading…
Reference in New Issue