From 35385900d661726d32ea512fc2cd8c4967577281 Mon Sep 17 00:00:00 2001 From: cmasone-attic Date: Wed, 14 Dec 2016 17:17:58 -0800 Subject: [PATCH] Close some NBS tableSets during testing (#2956) Leaving these open can leak file handles --- go/nbs/table_set_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go/nbs/table_set_test.go b/go/nbs/table_set_test.go index 3fb921d557..e5f73cc995 100644 --- a/go/nbs/table_set_test.go +++ b/go/nbs/table_set_test.go @@ -43,6 +43,7 @@ func TestTableSetPrepend(t *testing.T) { secondSpecs := ts.ToSpecs() assert.Len(secondSpecs, 2) assert.Equal(firstSpecs, secondSpecs[1:]) + ts.Close() } func makeTempDir(assert *assert.Assertions) string { @@ -74,6 +75,8 @@ func TestTableSetUnion(t *testing.T) { ts = ts.Union(fullTS.ToSpecs()) assert.Len(ts.ToSpecs(), 3) + ts.Close() + fullTS.Close() } func TestS3TablePersisterCompact(t *testing.T) {