Skip to content

Commit

Permalink
Merge pull request etcd-io#18387 from fuweid/case-update
Browse files Browse the repository at this point in the history
tests/e2e: check compactOnRev > tombstoneRevs[0]
  • Loading branch information
ahrtr authored Aug 1, 2024
2 parents 4488f2c + 182639c commit 5340b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/e2e/hashkv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func TestVerifyHashKVAfterCompact(t *testing.T) {
// If compaction revision isn't a tombstone, select a revision in the middle of two tombstones.
if !compactedOnTombstoneRev {
compactedOnRev = (tombstoneRevs[0] + tombstoneRevs[1]) / 2
require.Greater(t, compactedOnRev, tombstoneRevs[0])
require.Greater(t, tombstoneRevs[1], compactedOnRev)
}

Expand Down

0 comments on commit 5340b2b

Please sign in to comment.