389ds / 389-ds-base

The enterprise-class Open Source LDAP server for Linux
https://www.port389.org/
Other
200 stars 82 forks source link

CI test replication/wait_for_async_feature_test.py sometime fails #6233

Open progier389 opened 2 weeks ago

progier389 commented 2 weeks ago

Description

dirsrvtests/tests/suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr0] FAILED [ 70%]
...
        most_common_val = sync_dict.most_common(1)[0][1]
        log.debug("%s <= %s <= %s" % (min_ap, most_common_val, max_ap))
>       assert min_ap <= most_common_val <= max_ap
E       assert 4 <= 3
...
DEBUG    dirsrvtests.tests.suites.replication.wait_for_async_feature_test:wait_for_async_feature_test.py:204 4 <= 3 <= 11

Additional context I mostly see the test failing with lmdb, I suspect that the timing has changed a bit and that the test parameters should be adapted.

progier389 commented 2 weeks ago

https://github.com/389ds/389-ds-base/actions/runs/9595294434 shows that it also occurs with bdb

I think I will simply change the expected minimum to 3