Skip to content

Commit

Permalink
API/client: Do not clean folders mid-test.
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
  • Loading branch information
hsanjuan committed Dec 17, 2018
1 parent ced9f2f commit 11cc048
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api/rest/client/methods_test.go
Expand Up @@ -434,9 +434,10 @@ func TestAddMultiFile(t *testing.T) {
api := testAPI(t)
defer api.Shutdown()

sth := test.NewShardingTestHelper()
defer sth.Clean(t)

testF := func(t *testing.T, c Client) {
sth := test.NewShardingTestHelper()
defer sth.Clean(t)
mfr, closer := sth.GetTreeMultiReader(t)
defer closer.Close()

Expand Down

0 comments on commit 11cc048

Please sign in to comment.