Compare commits

...

1 Commits

Author SHA1 Message Date
Thales Macedo Garitezi db22e3df36 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.
2021-11-15 17:59:42 -03:00
3 changed files with 8 additions and 5 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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: |