check error returned in test to make errcheck happy
This commit is contained in:
parent
57cd67fa88
commit
6f28f3e5bd
|
@ -623,7 +623,10 @@ func TestIndexMetadataRaceBug198(t *testing.T) {
|
|||
|
||||
go func() {
|
||||
for {
|
||||
index.DocCount()
|
||||
_, err := index.DocCount()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in New Issue