From 9ba9444f377c7535cfbb978e280ac406d34ee4ec Mon Sep 17 00:00:00 2001 From: pingqiu Date: Thu, 19 Nov 2026 01:53:57 -0800 Subject: [PATCH] test: use the storage block address type in deletion control --- seaweed-block/core/storage/chunk_birth_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seaweed-block/core/storage/chunk_birth_test.go b/seaweed-block/core/storage/chunk_birth_test.go index 677fc36266..c442156f43 100644 --- a/seaweed-block/core/storage/chunk_birth_test.go +++ b/seaweed-block/core/storage/chunk_birth_test.go @@ -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) }