mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
test: use the storage block address type in deletion control
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user