[skip ci] Add comments for github action (#9034)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/9036/head
zhuwenxing 2021-10-01 22:17:16 +08:00 committed by GitHub
parent d026e7f3dd
commit 4f33a807f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -62,12 +62,14 @@ jobs:
kubectl get pods -n chaos-testing
kubectl port-forward service/milvus-chaos 19530 -n chaos-testing >/dev/null 2>&1 &
sleep 20s
# check whether port-forward success
nc -vz 127.0.0.1 19530
- name: Chaos Test
shell: bash
working-directory: tests/python_client/chaos
run: |
# replace chaos object
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 --log-level=INFO --tb=no