From 77cd21e89f36cddc47a09988fc083d33f5f00e29 Mon Sep 17 00:00:00 2001 From: Seebs Date: Tue, 4 Jun 2019 09:16:01 -0500 Subject: [PATCH] don't check errors we don't care about in a test --- fragment_internal_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fragment_internal_test.go b/fragment_internal_test.go index c159bb1a1..e45d3cce8 100644 --- a/fragment_internal_test.go +++ b/fragment_internal_test.go @@ -114,10 +114,10 @@ func TestFragment_RowcacheMap(t *testing.T) { ch := make(chan struct{}) for i := 0; i < f.MaxOpN; i++ { - f.setBit(0, uint64(i*32)) + _, _ = f.setBit(0, uint64(i*32)) } // force snapshot so we get a mmapped row... - f.snapshot() + _ = f.snapshot() row := f.row(0) segment := row.Segments()[0] bitmap := segment.data @@ -136,7 +136,7 @@ func TestFragment_RowcacheMap(t *testing.T) { // then invalidates the other map... for j := 0; j < 5; j++ { for i := 0; i < f.MaxOpN; i++ { - f.setBit(0, uint64(i*32+j+1)) + _, _ = f.setBit(0, uint64(i*32+j+1)) } } atomic.StoreInt64(&done, 1)