Skip to content

Commit d0fef5c

Browse files
authored
Merge pull request #279 from ekexium/fix-epoch-not-match
CI: Try to increase region-split-keys
2 parents 218bae0 + c570166 commit d0fef5c

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

config/tikv.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[coprocessor]
2-
region-max-keys = 5
3-
region-split-keys = 3
2+
region-max-keys = 10
3+
region-split-keys = 7
44
batch-split-limit = 100
55

66
[raftstore]

tests/common/ctl.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,3 @@ pub async fn get_region_count() -> Result<u64> {
1919
.as_u64()
2020
.ok_or_else(|| Error::StringError("pd region count does not return an integer".to_owned()))
2121
}
22-
23-
#[tokio::test]
24-
#[ignore]
25-
async fn test_get_region_count() -> Result<()> {
26-
println!("{}", get_region_count().await?);
27-
Ok(())
28-
}

tests/common/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub async fn init() -> Result<()> {
4242
.take(count as usize - 1)
4343
.map(|x| x.to_be_bytes().to_vec());
4444

45-
ensure_region_split(keys_1.chain(keys_2), 100).await?;
45+
ensure_region_split(keys_1.chain(keys_2), 80).await?;
4646
}
4747

4848
clear_tikv().await;

0 commit comments

Comments
 (0)