diff --git a/physical/raft/bolt_32bit_test.go b/physical/raft/bolt_32bit_test.go index 57ab4cee96bb..7fceb0d50ea1 100644 --- a/physical/raft/bolt_32bit_test.go +++ b/physical/raft/bolt_32bit_test.go @@ -32,10 +32,7 @@ func Test_BoltOptions(t *testing.T) { os.Setenv(key, tc.env) } - o, err := boltOptions() - if err != nil { - t.Error(err) - } + o := boltOptions() if o.InitialMmapSize != tc.expectedSize { t.Errorf("expected InitialMmapSize to be %d but it was %d", tc.expectedSize, o.InitialMmapSize)