Skip to content

Commit

Permalink
[FAB-4257] Fix wrong dir name in the UT
Browse files Browse the repository at this point in the history
core/scc/cscc/configure_test.go didn't delete directory after UT.
This patch fixs wrong directory name. The directory that should be
deleted after the UT is not deleted because of the wrong directory
name.

Change-Id: I85b1c33cf6751669d2c3f09bd63f49dd3fdfacfb
Signed-off-by: Nao Nishijima <Nao.nishijima@hal.hitachi.com>
  • Loading branch information
Nao Nishijima authored and Nao Nishijima committed May 31, 2017
1 parent 5ba27bf commit 0181384
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 @@ -168,7 +168,7 @@ func TestConfigerInvokeJoinChainCorrectParams(t *testing.T) {
peer.MockInitialize()
ledgermgmt.InitializeTestEnv()
defer ledgermgmt.CleanupTestEnv()
defer os.RemoveAll("/tmp/hyperledgerest/")
defer os.RemoveAll("/tmp/hyperledgertest/")

e := new(PeerConfiger)
stub := shim.NewMockStub("PeerConfiger", e)
Expand Down

0 comments on commit 0181384

Please sign in to comment.