[skip ci]Update github action for network partition chaos (#11380)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/11382/head
zhuwenxing 2021-11-06 20:44:55 +08:00 committed by GitHub
parent 436d530432
commit 50219ab2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -71,9 +71,10 @@ jobs:
working-directory: tests/python_client/chaos
run: |
# replace chaos object
sed -i "s/TESTS_CONFIG_LOCATION =.*/TESTS_CONFIG_LOCATION = \'chaos_objects\/network_partition\/'/g" constants.py
sed -i "s/ALL_CHAOS_YAMLS =.*/ALL_CHAOS_YAMLS = \'chaos_${{ matrix.pod }}_network_partition.yaml\'/g" constants.py
cat constants.py
pytest -s -v test_chaos.py --host 127.0.0.1 --log-level=INFO --tb=no
pytest -s -v test_chaos.py --host 127.0.0.1
- name: Export logs
if: ${{ always() }}