File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,13 @@ jobs:
105
105
- name : install tiup
106
106
run : curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
107
107
- name : start tiup playground
108
- run : /home/runner/.tiup/bin/tiup playground nightly --mode tikv-slim --kv 3 --without-monitor --kv.config /home/runner/work/client-rust/client-rust/config/tikv.toml --pd.config /home/runner/work/client-rust/client-rust/config/pd.toml &
108
+ run : |
109
+ ~/.tiup/bin/tiup install tikv:nightly pd:nightly
110
+ ~/.tiup/bin/tiup playground nightly --mode tikv-slim --kv 3 --without-monitor --kv.config config/tikv.toml --pd.config config/pd.toml &
111
+ while :; do
112
+ echo "waiting cluster to be ready"
113
+ [[ "$(curl -I http://127.0.0.1:2379/pd/api/v1/regions 2>/dev/null | head -n 1 | cut -d$' ' -f2)" -ne "405" ]] || break
114
+ sleep 1
115
+ done
109
116
- name : integration test
110
117
run : MULTI_REGION=1 make integration-test
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ region-split-keys = 7
4
4
batch-split-limit = 100
5
5
6
6
[raftstore ]
7
- region-split-check-diff = " 0KB "
7
+ region-split-check-diff = " 1B "
8
8
pd-heartbeat-tick-interval = " 2s"
9
9
pd-store-heartbeat-tick-interval = " 5s"
10
10
split-region-check-tick-interval = " 1s"
You can’t perform that action at this time.
0 commit comments