From 315a06214f4237ad3f3b8d1828699fd8804e0c10 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Thu, 11 Nov 2021 14:53:56 -0300 Subject: [PATCH] test(rlog): reenable RLOG FVT tests The RLOG DB backend tests in FVT were temporarily disabled due to some paho tests being specially flaky in CI. In particular, those tests had the common pattern of subscribing to a topic, immediately publishing to that topic and then waiting for the response. When in CI and using RLOG, there seems to be more delays in replication of data, and often this pattern would fail in the constraint testing enviroment. --- .../docker-compose-emqx-cluster-rlog.override.yaml | 4 ++++ .github/workflows/run_fvt_tests.yaml | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) 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/.github/workflows/run_fvt_tests.yaml b/.github/workflows/run_fvt_tests.yaml index 0b5295cac..46ce95dab 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