Skip to content

Commit

Permalink
Reapply "Verify integrity metadata allocation is rounded"
Browse files Browse the repository at this point in the history
This reverts commit 25c64ed.
  • Loading branch information
mulkieran committed Oct 4, 2024
1 parent 178d048 commit 70e6ed4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testlib/infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,9 @@ def _check_integrity_meta_allocs(self, metadata):
self.assertGreater(len(integrity_meta_allocs), 0)

for alloc in integrity_meta_allocs:
self.assertGreater(alloc[0], 0)
self.assertGreater(alloc[1], 0)
start, length = Range(alloc[0], 512), Range(alloc[1], 512)
self.assertGreater(start, Range(0))
self.assertEqual(length % Range(8, 512), Range(0))

def run_check(self, stop_time):
"""
Expand Down

0 comments on commit 70e6ed4

Please sign in to comment.