From 396c6b036473928bc33f4d1af9457cb3798470b3 Mon Sep 17 00:00:00 2001 From: Edd Robinson Date: Mon, 12 Aug 2019 13:49:52 +0100 Subject: [PATCH] refactor(storage): ensure tests clean up --- tsdb/index_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tsdb/index_test.go b/tsdb/index_test.go index fb391d1d40..52eee3b741 100644 --- a/tsdb/index_test.go +++ b/tsdb/index_test.go @@ -150,8 +150,7 @@ func (i *Index) Close() error { if err := i.sfile.Close(); err != nil { return err } - //return os.RemoveAll(i.rootPath) - return nil + return os.RemoveAll(i.rootPath) } // This benchmark compares the TagSets implementation across index types.