test: use the storage block address type in deletion control

This commit is contained in:
pingqiu committed 2026-11-19 01:53:57 -08:00
1 parent 7869ee9642
commit 9ba9444f37
1 file changed
+1 -1
@@ -160,7 +160,7 @@ func TestChunkBirthTracksNewestLocalWriteAtCut(t *testing.T) {
if second.Head.Chunks[0] != first.Head.Chunks[0] || second.Head.Chunks[1].BirthLSN != z {
t.Fatal("rewrite changed a cold chunk birth or failed to advance the changed version")
}
for _, lba := range []uint64{ctChunkBlocks, ctChunkBlocks + 1} {
for _, lba := range []uint32{ctChunkBlocks, ctChunkBlocks + 1} {
if _, err := s.Write(lba, makeBlock(ctBlockSize, 0)); err != nil {
t.Fatal(err)
}