Skip to content
Snippets Groups Projects

fix: flaky test_bootstrap_from_snapshot

Merged Егор Ивков requested to merge eivkov/fix-flaky into master

Summary

  • fix: flaky test_bootstrap_from_snapshot

This check was too strict: assert i2.raft_first_index() == i1.raft_first_index() + 2

This is because governor can manage to apply more than 2 entries after log was compacted, so we can't rely on this strict difference of 2 commits. For example in this log 3 entries were applied: #1127 (comment 111700)


  • Close #1127 (closed)
  • Cherry-pick to: none
  • Docs follow-up: not necessary
  • Changelog is updated
Edited by Егор Ивков

Merge request reports

Merge request pipeline #59075 skipped

Merge request pipeline skipped for fc739b7b

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading