Skip to content

Commit

Permalink
Temporary fix for failing CI for master branch
Browse files Browse the repository at this point in the history
TestHTTPExecuteDeployTransaction is failing on master
because it is trying to go get
http://github.com/hyperledger/fabric-test-resources/examples/chaincode/go/chaincode_example01
which implements new interfaces from the convergence branch.
This patch points the test at a different repo for now and demonstrates usage of
gopkg.in to attempt to overcome limitations of go versioning

Fixes FAB-305

Change-Id: I55113b36a7cd6c505e7dc2503a31d91fa11b8c5b
Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
  • Loading branch information
mastersingh24 committed Sep 4, 2016
1 parent 65389b9 commit 93ccc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chaincode/exectransaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func TestHTTPExecuteDeployTransaction(t *testing.T) {
// itself or it won't be downloaded because it will be found
// in GOPATH, which would defeat the test
testDBWrapper.CleanDB(t)
executeDeployTransaction(t, "http://github.com/hyperledger/fabric-test-resources/examples/chaincode/go/chaincode_example01")
executeDeployTransaction(t, "http://gopkg.in/mastersingh24/fabric-test-resources.v0")
}

// Check the correctness of the final state after transaction execution.
Expand Down

0 comments on commit 93ccc88

Please sign in to comment.