Skip to content

Commit

Permalink
[FAB-17150] Clean up temp dir on configure_test
Browse files Browse the repository at this point in the history
This patch cleans up a temporary directory on cscc/configure_test.

Signed-off-by: Tatsuya Sato <Tatsuya.Sato@hal.hitachi.com>
  • Loading branch information
satota2 authored and guoger committed Dec 5, 2019
1 parent 0bfcd36 commit 5025cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/scc/cscc/configure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func TestConfigerInvokeJoinChainCorrectParams(t *testing.T) {

testDir, err := ioutil.TempDir("", "cscc_test")
require.NoError(t, err, "error in creating test dir")
defer os.Remove(testDir)
defer os.RemoveAll(testDir)

ledgerInitializer := ledgermgmttest.NewInitializer(testDir)
ledgerInitializer.CustomTxProcessors = map[common.HeaderType]ledger.CustomTxProcessor{
Expand Down

0 comments on commit 5025cad

Please sign in to comment.