CI: increase region-split-keys

Signed-off-by: ekexium <ekexium@gmail.com>
This commit is contained in:
ekexium 2021-05-07 18:45:18 +08:00
parent 218bae0c83
commit c5701660e6
3 changed files with 3 additions and 10 deletions

View File

@ -1,6 +1,6 @@
[coprocessor]
region-max-keys = 5
region-split-keys = 3
region-max-keys = 10
region-split-keys = 7
batch-split-limit = 100
[raftstore]

View File

@ -19,10 +19,3 @@ pub async fn get_region_count() -> Result<u64> {
.as_u64()
.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(())
}

View File

@ -42,7 +42,7 @@ pub async fn init() -> Result<()> {
.take(count as usize - 1)
.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;