Skip to content

Commit 980d833

Browse files
committed
ci: migrate to chaos testing inside slo action
1 parent 593ef60 commit 980d833

File tree

2 files changed

+4
-41
lines changed

2 files changed

+4
-41
lines changed

.github/scripts/chaos-ydb.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/slo.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,6 @@ jobs:
8585
run: |
8686
./tests/slo/.bin/${{matrix.sdk.id}}_linux_amd64 create grpc://localhost:2135 /Root/testdb
8787
88-
- name: Chaos YDB
89-
run: |
90-
chmod +x ./.github/scripts/chaos-ydb.sh
91-
nohup ./.github/scripts/chaos-ydb.sh > chaos-ydb.log 2>&1 &
92-
93-
# - name: Chaos Network
94-
# run: |
95-
# sudo tc qdisc add dev lo root netem delay 100ms 50ms loss 5% corrupt 1%
96-
9788
- name: Run SLO Tests
9889
run: |
9990
./tests/slo/.bin/${{matrix.sdk.id}}_linux_amd64 run grpc://localhost:2135 /Root/testdb \
@@ -105,9 +96,10 @@ jobs:
10596
-read-timeout 1000 \
10697
-write-timeout 1000 || true
10798
108-
# - if: always()
109-
# run: |
110-
# sudo tc qdisc del dev lo root
99+
- if: always()
100+
name: Store ydb chaos testing logs
101+
run: |
102+
docker logs ydb-chaos > chaos-ydb.log
111103
112104
- if: always()
113105
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)