Просмотр исходного кода

chore: pin paho-test version to avoid test failures

JianBo He 2 лет назад
Родитель
Сommit
a3e50a0d4c
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      .ci/docker-compose-file/python/pytest.sh

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

@@ -18,7 +18,12 @@ else
 fi
 
 apk update && apk add git curl
-git clone -b develop-5.0 https://github.com/emqx/paho.mqtt.testing.git /paho.mqtt.testing
+## Use 5.1.0 to bypass the newly added test cases in
+## https://github.com/emqx/paho.mqtt.testing/pull/13
+## This is a temporary solution for 5.1.0 release. After 5.1.0 release, we should use
+## the develop-5.0 branch
+git clone -b 5.1.0 https://github.com/emqx/paho.mqtt.testing.git /paho.mqtt.testing
+
 pip install pytest==7.1.2 pytest-retry
 
 pytest --retries 3 -v /paho.mqtt.testing/interoperability/test_client/V5/test_connect.py -k test_basic --host "$TARGET_HOST"