0
0

add missing index close causing tests to sometimes fail

This commit is contained in:
Marty Schoch 2015-04-03 16:41:11 -04:00
parent dbf50b7f29
commit 52712b9537

View File

@ -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",