fix: wait for changelog indexing before searching in flaky test
Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/67419a34-606e-469e-b40e-656989f418a4
Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
| | |
| | | // write 4 more changes starting from changenumber 5, and search them |
| | | testName = "Multiple/5"; |
| | | csns = generateAndPublishUpdateMsgForEachOperationType(testName, false); |
| | | // Wait until all 8 changes are indexed before searching |
| | | assertChangelogAttributesInRootDSE(1, 8); |
| | | searchChangesForEachOperationTypeUsingChangeNumberMode(5, csns, testName); |
| | | |
| | | // search from the provided change number: 6 (should be the add msg) |