diff --git a/.github/workflows/pod-kill-chaos-test.yaml b/.github/workflows/pod-kill-chaos-test.yaml index eb8021911a..4c73094f8d 100644 --- a/.github/workflows/pod-kill-chaos-test.yaml +++ b/.github/workflows/pod-kill-chaos-test.yaml @@ -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