From 0cae8651c09818bd9fe4e832e14205e86f0d32bd Mon Sep 17 00:00:00 2001 From: tison Date: Fri, 21 Jan 2022 20:22:47 +0800 Subject: [PATCH] hardern e2e test by adding healthCheck Signed-off-by: tison --- .github/workflows/e2e.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a581102..3d57cbe 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -22,4 +22,7 @@ jobs: pip3 install --upgrade pip pip3 install setuptools pip3 install -r requirements.txt + until curl http://127.0.0.1:8081/healthCheck; do + sleep 1 + done python3 tests/e2e/run_e2e.py --expected_file=tests/e2e/data/expected_context.yaml --max_retry_times=3 --target_path=/ping