Add missing error check in persistence test
This commit is contained in:
parent
27074863b4
commit
e2c12dcdb5
|
@ -152,6 +152,9 @@ func testPersistLoadDropChunks(t *testing.T, encoding chunkEncoding) {
|
|||
}
|
||||
// Load chunk descs partially.
|
||||
actualChunkDescs, err = p.loadChunkDescs(fp, 5)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if len(actualChunkDescs) != 5 {
|
||||
t.Errorf("Got %d chunkDescs, want %d.", len(actualChunkDescs), 5)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue