mirror of https://github.com/milvus-io/milvus.git
[skip ci]Update github action for network partition chaos (#11380)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/11382/head
parent
436d530432
commit
50219ab2e8
|
@ -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() }}
|
||||
|
|
Loading…
Reference in New Issue