Skip to content

Commit

Permalink
chore: add failpoint to mysql80 unit test
Browse files Browse the repository at this point in the history
Signed-off-by: <919179287@qq.com>
  • Loading branch information
gerayking committed Aug 30, 2023
1 parent 0b0e5a4 commit 144404d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/unit_test_mysql80.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,12 @@ jobs:
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.unit_tests == 'true'
timeout-minutes: 30
run: |
# failpoint
chmod 755 ./test/failpoint/failpoints.sh && source ./test/failpoint/failpoints.sh
echo "GO_FAILPOINTS=$GO_FAILPOINTS" >> $GITHUB_OUTPUT
make failpoint-enable
eatmydata -- make unit_test | tee -a output.txt | go-junit-report -set-exit-code > report.xml
make failpoint-disable
- name: Print test output and Record test result
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.unit_tests == 'true' && always()
Expand Down

0 comments on commit 144404d

Please sign in to comment.