Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r/tests: removed infinite loop from raft test #16675

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

mmaslankaprv
Copy link
Member

@mmaslankaprv mmaslankaprv commented Feb 22, 2024

The infinite loop trying to read batches that might have been out of range caused the test to timeout. Added a condition validating if read end offset in still in readable range.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x
  • v23.1.x

Release Notes

  • none

The infinite loop trying to read batches that might have been out of
range caused the test to timeout. Added a condition validating if read
end offset in still in readable range.

Signed-off-by: Michal Maslanka <michal@redpanda.com>
@mmaslankaprv mmaslankaprv merged commit c0204f3 into redpanda-data:dev Feb 23, 2024
17 of 20 checks passed
@mmaslankaprv mmaslankaprv deleted the fix-gtest-raft-rpunit branch February 23, 2024 09:01
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants