diff --git a/.ci/docker-compose-file/docker-compose-emqx-cluster-rlog.override.yaml b/.ci/docker-compose-file/docker-compose-emqx-cluster-rlog.override.yaml index 8be146eb5..1b61b0278 100644 --- a/.ci/docker-compose-file/docker-compose-emqx-cluster-rlog.override.yaml +++ b/.ci/docker-compose-file/docker-compose-emqx-cluster-rlog.override.yaml @@ -12,6 +12,7 @@ services: emqx1: <<: *default-emqx container_name: node1.emqx.io + restart: on-failure environment: - "EMQX_HOST=node1.emqx.io" - "EMQX_CLUSTER__DB_BACKEND=rlog" @@ -23,6 +24,9 @@ services: emqx2: <<: *default-emqx container_name: node2.emqx.io + depends_on: + - emqx1 + restart: on-failure environment: - "EMQX_HOST=node2.emqx.io" - "EMQX_CLUSTER__DB_BACKEND=rlog" diff --git a/.ci/docker-compose-file/python/pytest.sh b/.ci/docker-compose-file/python/pytest.sh index c079a65a4..bb020ddc9 100755 --- a/.ci/docker-compose-file/python/pytest.sh +++ b/.ci/docker-compose-file/python/pytest.sh @@ -18,7 +18,7 @@ else fi apk update && apk add git curl -git clone -b develop-4.0 https://github.com/emqx/paho.mqtt.testing.git /paho.mqtt.testing +git clone -b develop-4.0-2 https://github.com/thalesmg/paho.mqtt.testing.git /paho.mqtt.testing pip install pytest pytest -v /paho.mqtt.testing/interoperability/test_client/V5/test_connect.py -k test_basic --host "$TARGET_HOST" diff --git a/.github/workflows/run_fvt_tests.yaml b/.github/workflows/run_fvt_tests.yaml index 0b5295cac..560bf15c8 100644 --- a/.github/workflows/run_fvt_tests.yaml +++ b/.github/workflows/run_fvt_tests.yaml @@ -73,8 +73,7 @@ jobs: - 24.1.1-emqx-1 cluster_db_backend: - "mnesia" - # FIXME: temporarily disabled: too flaky at the moment - # - "rlog" + - "rlog" steps: - uses: actions/download-artifact@v2 @@ -182,8 +181,8 @@ jobs: kubectl logs emqx-2 - uses: actions/checkout@v2 with: - repository: emqx/paho.mqtt.testing - ref: develop-4.0 + repository: thalesmg/paho.mqtt.testing + ref: develop-4.0-2 path: paho.mqtt.testing - name: install pytest run: |