Skip to content

Commit

Permalink
ci: add chaos testing
Browse files Browse the repository at this point in the history
  • Loading branch information
polRk committed Oct 28, 2024
1 parent 17a901b commit 784c690
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/slo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
label: xorm

concurrency:
group: slo-${{ github.ref }}-${{matrix.sdk.name}}
group: slo-${{ github.ref }}-${{ matrix.sdk.name }}
cancel-in-progress: true

steps:
- name: Checkout repository
Expand All @@ -79,6 +80,20 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
sdk_name: ${{ matrix.sdk.name }}

- name: Download chaos testing tool
uses: robinraju/release-downloader@v1
with:
repository: 'alexei-led/pumba'
tag: '0.10.1'
fileName: 'pumba_linux_amd64'

- name: Run chaos testing
run: |
echo 'Performing chaos testing...'
chmod +x ./pumba_linux_amd64
sleep 30
./pumba_linux_amd64 --random --interval 30s restart re2:^ydb-dynamic &
- name: Run SLO Tests
run: |
./tests/slo/.bin/${{matrix.sdk.id}}_linux_amd64 create grpc://localhost:2135 /Root/testdb
Expand Down

0 comments on commit 784c690

Please sign in to comment.