Skip to content

Commit

Permalink
ci: migrate to chaos testing inside slo action
Browse files Browse the repository at this point in the history
  • Loading branch information
polRk committed Nov 22, 2024
1 parent 593ef60 commit 980d833
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 41 deletions.
29 changes: 0 additions & 29 deletions .github/scripts/chaos-ydb.sh

This file was deleted.

16 changes: 4 additions & 12 deletions .github/workflows/slo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,6 @@ jobs:
run: |
./tests/slo/.bin/${{matrix.sdk.id}}_linux_amd64 create grpc://localhost:2135 /Root/testdb
- name: Chaos YDB
run: |
chmod +x ./.github/scripts/chaos-ydb.sh
nohup ./.github/scripts/chaos-ydb.sh > chaos-ydb.log 2>&1 &
# - name: Chaos Network
# run: |
# sudo tc qdisc add dev lo root netem delay 100ms 50ms loss 5% corrupt 1%

- name: Run SLO Tests
run: |
./tests/slo/.bin/${{matrix.sdk.id}}_linux_amd64 run grpc://localhost:2135 /Root/testdb \
Expand All @@ -105,9 +96,10 @@ jobs:
-read-timeout 1000 \
-write-timeout 1000 || true
# - if: always()
# run: |
# sudo tc qdisc del dev lo root
- if: always()
name: Store ydb chaos testing logs
run: |
docker logs ydb-chaos > chaos-ydb.log
- if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 980d833

Please sign in to comment.