Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 6258 - Mitigate race condition in paged_results_test.py (#6433)
The regression test dirsrvtests/tests/suites/paged_results/paged_results_test.py::test_multi_suffix_search has a race condition causing it to fail due to multiple queries potentially writing their logs out of chronological order. This failure is mitigated by sorting the retrieved access_log_lines by their "op" value. This ensures the log lines are in chronological order, as expected by the assertions at the end of test_multi_suffix_search(). Helps fix: #6258 Reviewed by: @droideck , @progier389 (Thanks!) Co-authored-by: Anuar Beisembayev <[email protected]>
- Loading branch information