• Eloy Lafuente's avatar
    MDL-69271 auth_ldap: Don't assume any ordering, just verify matches · 4000d276
    Eloy Lafuente authored
    Both ldap or the DB can return information in a non-consistent
    ordering leading to events to be generated in different order.
    And current tests are, right now, assuming a given order.
    Note this is a rare random, but it's happening, so better
    fix it, see the issue for some more details.
    So we just do the tests ordering immune, verifying that all the
    expected events have been triggered and done. Irrespectively of their order.