From 52712b953710aca6e4ee93bb1d11fd1040c7ed73 Mon Sep 17 00:00:00 2001 From: Marty Schoch Date: Fri, 3 Apr 2015 16:41:11 -0400 Subject: [PATCH] add missing index close causing tests to sometimes fail --- index_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/index_test.go b/index_test.go index ced23ca6..f92fc173 100644 --- a/index_test.go +++ b/index_test.go @@ -334,6 +334,7 @@ func TestStoredFieldPreserved(t *testing.T) { if err != nil { t.Fatal(err) } + defer index.Close() doca := map[string]interface{}{ "name": "Marty",