From e2c12dcdb5415ab103c7b8f4201c58573366b83f Mon Sep 17 00:00:00 2001 From: Tobias Schmidt Date: Wed, 14 Sep 2016 23:16:47 -0400 Subject: [PATCH] Add missing error check in persistence test --- storage/local/persistence_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storage/local/persistence_test.go b/storage/local/persistence_test.go index a111c6109..d7141b059 100644 --- a/storage/local/persistence_test.go +++ b/storage/local/persistence_test.go @@ -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) }