add missing index close causing tests to sometimes fail
This commit is contained in:
parent
dbf50b7f29
commit
52712b9537
|
@ -334,6 +334,7 @@ func TestStoredFieldPreserved(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
defer index.Close()
|
||||||
|
|
||||||
doca := map[string]interface{}{
|
doca := map[string]interface{}{
|
||||||
"name": "Marty",
|
"name": "Marty",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user