forked from pingcap/tiflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_prepare
45 lines (42 loc) · 1.78 KB
/
test_prepare
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
UP_TIDB_HOST=${UP_TIDB_HOST:-127.0.0.1}
UP_TIDB_PORT=${UP_TIDB_PORT:-4000}
UP_TIDB_OTHER_PORT=${UP_TIDB_OTHER_PORT:-4001}
UP_TIDB_STATUS=${UP_TIDB_STATUS:-10080}
UP_TIDB_OTHER_STATUS=${UP_TIDB_OTHER_STATUS:-10081}
DOWN_TIDB_HOST=${DOWN_TIDB_HOST:-127.0.0.1}
DOWN_TIDB_PORT=${DOWN_TIDB_PORT:-3306}
DOWN_TIDB_STATUS=${DOWN_TIDB_STATUS:-20080}
TLS_TIDB_HOST=${TLS_TIDB_HOST:-127.0.0.1}
TLS_TIDB_PORT=${TLS_TIDB_PORT:-3307}
TLS_TIDB_STATUS=${TLS_TIDB_STATUS:-30080}
UP_PD_HOST_1=${UP_PD_HOST_1:-127.0.0.1}
UP_PD_PORT_1=${UP_PD_PORT_1:-2379}
UP_PD_PEER_PORT_1=${UP_PD_PEER_PORT_1:-2380}
UP_PD_HOST_2=${UP_PD_HOST_2:-127.0.0.1}
UP_PD_PORT_2=${UP_PD_PORT_2:-2679}
UP_PD_PEER_PORT_2=${UP_PD_PEER_PORT_2:-2680}
UP_PD_HOST_3=${UP_PD_HOST_3:-127.0.0.1}
UP_PD_PORT_3=${UP_PD_PORT_3:-2779}
UP_PD_PEER_PORT_3=${UP_PD_PEER_PORT_3:-2780}
DOWN_PD_HOST=${DOWN_PD_HOST:-127.0.0.1}
DOWN_PD_PORT=${DOWN_PD_PORT:-2479}
DOWN_PD_PEER_PORT=${DOWN_PD_PEER_PORT:-2480}
TLS_PD_HOST=${TLS_PD_HOST:-127.0.0.1}
TLS_PD_PORT=${TLS_PD_PORT:-2579}
TLS_PD_PEER_PORT=${TLS_PD_PEER_PORT:-2580}
UP_TIKV_HOST_1=${UP_TIKV_HOST_1:-127.0.0.1}
UP_TIKV_PORT_1=${UP_TIKV_PORT_1:-20160}
UP_TIKV_STATUS_PORT_1=${UP_TIKV_STATUS_PORT_1:-20181}
UP_TIKV_HOST_2=${UP_TIKV_HOST_2:-127.0.0.1}
UP_TIKV_PORT_2=${UP_TIKV_PORT_2:-20161}
UP_TIKV_STATUS_PORT_2=${UP_TIKV_STATUS_PORT_2:-20182}
UP_TIKV_HOST_3=${UP_TIKV_HOST_3:-127.0.0.1}
UP_TIKV_PORT_3=${UP_TIKV_PORT_3:-20162}
UP_TIKV_STATUS_PORT_3=${UP_TIKV_STATUS_PORT_3:-20183}
DOWN_TIKV_HOST=${DOWN_TIKV_HOST:-127.0.0.1}
DOWN_TIKV_PORT=${DOWN_TIKV_PORT:-21160}
DOWN_TIKV_STATUS_PORT=${DOWN_TIKV_STATUS_PORT:-21180}
TLS_TIKV_HOST=${TLS_TIKV_HOST:-127.0.0.1}
TLS_TIKV_PORT=${TLS_TIKV_PORT:-22160}
TLS_TIKV_STATUS_PORT=${TLS_TIKV_STATUS_PORT:-22180}
KAFKA_VERSION=$(cat /tmp/tidb_cdc_test/KAFKA_VERSION 2>/dev/null || echo 2.4.1)