Explorar el Código

chore(ci): pin pytest-retry version

Ilya Averyanov hace 2 años
padre
commit
44b080f5b3

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

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

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

@@ -121,7 +121,7 @@ jobs:
         path: paho.mqtt.testing
         path: paho.mqtt.testing
     - name: install pytest
     - name: install pytest
       run: |
       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
         echo "$HOME/.local/bin" >> $GITHUB_PATH
     - name: run paho test
     - name: run paho test
       timeout-minutes: 10
       timeout-minutes: 10