mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add function test in pod kill chaos (#9882)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/9910/head
parent
3f425b84d1
commit
4c62c46895
|
@ -71,6 +71,7 @@ jobs:
|
|||
python hello_milvus.py
|
||||
|
||||
- name: Chaos Test
|
||||
timeout-minutes: 15
|
||||
shell: bash
|
||||
working-directory: tests/python_client/chaos
|
||||
run: |
|
||||
|
@ -78,7 +79,13 @@ jobs:
|
|||
sed -i "s/ALL_CHAOS_YAMLS =.*/ALL_CHAOS_YAMLS = \'chaos_${{ matrix.pod }}_podkill.yaml\'/g" constants.py
|
||||
cat constants.py
|
||||
pytest -s -v test_chaos.py --host 127.0.0.1
|
||||
|
||||
|
||||
- name: Milvus Function Test
|
||||
shell: bash
|
||||
working-directory: tests/python_client/chaos
|
||||
run: |
|
||||
python hello_milvus.py
|
||||
|
||||
- name: Export logs
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in New Issue