فهرست منبع

Merge pull request #11502 from savonarola/0823-fix-pytest-retry

chore(ci): pin pytest-retry version
Ilya Averyanov 2 سال پیش
والد
کامیت
e421c963dc
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      .ci/docker-compose-file/python/pytest.sh
  2. 1 1
      .github/workflows/run_helm_tests.yaml

+ 1 - 1
.ci/docker-compose-file/python/pytest.sh

@@ -20,7 +20,7 @@ fi
 apk update && apk add git curl
 git clone -b develop-5.0 https://github.com/emqx/paho.mqtt.testing.git /paho.mqtt.testing
 
-pip install pytest==7.1.2 pytest-retry
+pip install pytest==7.1.2 pytest-retry==1.3.0
 
 pytest --retries 3 -v /paho.mqtt.testing/interoperability/test_client/V5/test_connect.py -k test_basic --host "$TARGET_HOST"
 RESULT=$?

+ 1 - 1
.github/workflows/run_helm_tests.yaml

@@ -121,7 +121,7 @@ jobs:
         path: paho.mqtt.testing
     - name: install pytest
       run: |
-        pip install pytest==7.1.2 pytest-retry
+        pip install pytest==7.1.2 pytest-retry==1.3.0
         echo "$HOME/.local/bin" >> $GITHUB_PATH
     - name: run paho test
       timeout-minutes: 10