Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: wait for the victim node to apply the dirty offset
Controller erasure test is supposed to validate if there is a mismatch between the last appended entry in kvstore and controller max offset. In order for the test to work correctly we must wait for all the messages to be committed as we only delete the last segment that contains a single message (new replicated configuration). In order to make the test reliable change the condition to wait for the applied offset on the node where controller log is going to be removed to be equal to the leader dirty offset. Fixes: #8217 Signed-off-by: Michal Maslanka <michal@redpanda.com>
- Loading branch information