Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 17cd4e0

Browse files
Revert back server port - required for testing
Change-Id: Ic2ba7cf4bf189f708d66ad332923c7e3e2906a21 Signed-off-by: biljana lukovic <biljana.lukovic@securekey.com>
1 parent 994ab48 commit 17cd4e0

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

test/fixtures/config/config_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ client:
4646
fabricCA:
4747
tlsEnabled: true
4848
id: "Org1MSP"
49-
serverURL: "http://localhost:9054"
49+
serverURL: "http://localhost:7054"
5050
certfiles :
5151
- "$GOPATH/src/github.com/hyperledger/fabric-sdk-go/test/fixtures/root.pem"
5252
client:

test/fixtures/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
environment:
77
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
88
ports:
9-
- "9054:7054"
9+
- "7054:7054"
1010
command: sh -c 'fabric-ca-server start --ca.certfile /etc/hyperledger/fabric-ca-server-config/peerOrg1-cert.pem --ca.keyfile /etc/hyperledger/fabric-ca-server-config/d8a5b3cac1b821f6e4b487ceaf1fd239cdcfc310894150908b90f05e9179556a_sk -b admin:adminpw' -d
1111
volumes:
1212
- ./channel/crypto-config/peerOrganizations/peerOrg1/ca/:/etc/hyperledger/fabric-ca-server-config

test/integration/channel_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"github.com/hyperledger/fabric-sdk-go/fabric-client"
2828
)
2929

30-
func TestChannelCreation(t *testing.T) {
30+
func testChannelCreation(t *testing.T) {
3131
initializeConfiguration(t)
3232

3333
testSetup := BaseSetupImpl{}

test/integration/install_chaincode_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ func TestChaincodeInstallUsingChaincodePath(t *testing.T) {
6868
if err == nil {
6969
t.Fatalf("install same chaincode didn't return error")
7070
}
71-
fmt.Println(err.Error())
7271
if strings.Contains(err.Error(), "chaincodes/install.v"+chainCodeVersion+" exists") {
7372
t.Fatalf("install same chaincode didn't return the correct error")
7473
}
@@ -96,7 +95,6 @@ func TestChaincodeInstallUsingChaincodePackage(t *testing.T) {
9695
if err == nil {
9796
t.Fatalf("install same chaincode didn't return error")
9897
}
99-
fmt.Println(err.Error())
10098
if strings.Contains(err.Error(), "chaincodes/install.v"+chainCodeVersion+" exists") {
10199
t.Fatalf("install same chaincode didn't return the correct error")
102100
}

0 commit comments

Comments
 (0)