mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci]Add timeout for pytest command (#11082)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
54be3c15bf
commit
f5730a3d9d
4
.github/workflows/pod-kill-chaos-test.yaml
vendored
4
.github/workflows/pod-kill-chaos-test.yaml
vendored
@ -85,7 +85,7 @@ jobs:
|
||||
sed -i "s/TESTS_CONFIG_LOCATION =.*/TESTS_CONFIG_LOCATION = \'chaos_objects\/pod_kill\/'/g" constants.py
|
||||
sed -i "s/ALL_CHAOS_YAMLS =.*/ALL_CHAOS_YAMLS = \'chaos_${{ matrix.pod }}_pod_kill.yaml\'/g" constants.py
|
||||
cat constants.py
|
||||
pytest -s -v test_chaos.py --host 127.0.0.1 || echo "chaos test failed"
|
||||
timeout 14m pytest -s -v test_chaos.py --host 127.0.0.1 || echo "chaos test failed"
|
||||
|
||||
- name: Milvus E2E Test
|
||||
timeout-minutes: 5
|
||||
@ -126,7 +126,7 @@ jobs:
|
||||
shell: bash
|
||||
working-directory: tests/python_client/chaos
|
||||
run: |
|
||||
pytest -s -v test_chaos_data_consist.py --host 127.0.0.1 || echo "data consist test failed"
|
||||
timeout 4m pytest -s -v test_chaos_data_consist.py --host 127.0.0.1 || echo "data consist test failed"
|
||||
|
||||
- name: Milvus E2E Test
|
||||
timeout-minutes: 5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user