-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-4146] chaincode install panics if GOPATH empty
If the GOPATH isn't set, the command peer chaincode install panics because of golang/platform.go I added a test that simulates such a condition. Also added one test which uses an invalid URL path in order to improve the UT coverage for ValidateSpec(). Change-Id: I1c9ed3406078bddf48e866bd0ca9a856a1c0848e Signed-off-by: Yacov Manevich <yacovm@il.ibm.com> Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
- Loading branch information
Showing
2 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters