-
Notifications
You must be signed in to change notification settings - Fork 12
201 lines (165 loc) · 5.8 KB
/
integration_test_mysql.yaml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
name: Integration-Mysql
on:
push:
branches:
- master
- "release-[0-9].[0-9]*"
paths-ignore:
- '**/*.md'
- '**/OWNERS'
- 'OWNERS'
- 'OWNERS_ALIASES'
pull_request:
branches:
- master
- "release-[0-9].[0-9]*"
paths-ignore:
- '**/*.md'
- '**/OWNERS'
- 'OWNERS'
- 'OWNERS_ALIASES'
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
basic_e2e_test:
runs-on: ubuntu-latest
name: E2E Test
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v3
with:
go-version: '1.23'
- name: Integration Build
run: |
tests/scripts/download-integration-test-binaries.sh master true
go build -o ./tools/bin/failpoint-ctl github.com/pingcap/failpoint/failpoint-ctl
make integration_test_build
ls -l bin/ && ls -l tools/bin/
- name: Test charset_gbk
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=charset_gbk
- name: Test changefeed_finish
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=changefeed_finish
- name: Test sql_mode
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=sql_mode
# - name: Test changefeed_pause_resume
# if: ${{ success() }}
# run: |
# export TICDC_NEWARCH=true && make integration_test CASE=changefeed_pause_resume
- name: Test changefeed_reconstruct
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=changefeed_reconstruct
- name: Upload test logs
if: always()
uses: ./.github/actions/upload-test-logs
with:
log-name: basic_e2e_group1
failover_e2e_test1:
runs-on: ubuntu-latest
name: Failover E2E Test [A-C]
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v3
with:
go-version: '1.23'
- name: Integration Build
run: |
tests/scripts/download-integration-test-binaries.sh master true
go build -o ./tools/bin/failpoint-ctl github.com/pingcap/failpoint/failpoint-ctl
make integration_test_build
ls -l bin/ && ls -l tools/bin/
- name: Test fail_over
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over
- name: Test fail_over_ddl_A
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over_ddl_A
- name: Test fail_over_ddl_B
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over_ddl_B
- name: Test fail_over_ddl_C
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over_ddl_C
- name: Upload test logs
if: always()
uses: ./.github/actions/upload-test-logs
with:
log-name: failover_group1
failover_e2e_test2:
runs-on: ubuntu-latest
name: Failover E2E Test[D-G]
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v3
with:
go-version: '1.23'
- name: Integration Build
run: |
tests/scripts/download-integration-test-binaries.sh master true
go build -o ./tools/bin/failpoint-ctl github.com/pingcap/failpoint/failpoint-ctl
make integration_test_build
ls -l bin/ && ls -l tools/bin/
- name: Test fail_over_ddl_D
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over_ddl_D
- name: Test fail_over_ddl_E
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over_ddl_E
- name: Test fail_over_ddl_F
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over_ddl_F
- name: Test fail_over_ddl_G
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over_ddl_G
- name: Upload test logs
if: always()
uses: ./.github/actions/upload-test-logs
with:
log-name: failover_group_2
failover_e2e_test3:
runs-on: ubuntu-latest
name: Failover E2E Test[H-K]
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v3
with:
go-version: '1.23'
- name: Integration Build
run: |
tests/scripts/download-integration-test-binaries.sh master true
go build -o ./tools/bin/failpoint-ctl github.com/pingcap/failpoint/failpoint-ctl
make integration_test_build
ls -l bin/ && ls -l tools/bin/
- name: Test fail_over_ddl_J
run: |
pwd && ls -l bin/ && ls -l tools/bin/
export TICDC_NEWARCH=true && make integration_test CASE=fail_over_ddl_J
- name: Upload test logs
if: always()
uses: ./.github/actions/upload-test-logs
with:
log-name: failover-group3