Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky test SegmentReplicationWithRemoteStorePressureIT.testAddRep…
…licaWhileWritesBlocked. (opensearch-project#9501) This test fails on ensureGreen after adding a replica. This is run inside of the try with resources that blocks operations. The block works by mocking transport calls to prevent segrep from completing until released. Fixed by moving the ensureGreen until after releasing blockOperations. Also re duced the doc count that is used while indexing down from max 200. Writes wit h the remote store version of this test take a much longer time to execute whe n performed serially, and we don't need this many docs indexed to create needed checkpoints. Signed-off-by: Marc Handalian <[email protected]>
- Loading branch information