This repository was archived by the owner on Apr 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ services:
2020 - dockerd.example.com
2121
2222 chaincoded :
23- image : ${FABRIC_DOCKER_REGISTRY }${FABRIC_BASEIMAGE_FIXTURE_IMAGE}:${FABRIC_ARCH}${FABRIC_ARCH_SEP}${FABRIC_BASEIMAGE_FIXTURE_TAG}
23+ image : ${FABRIC_BASE_DOCKER_REGISTRY }${FABRIC_BASEIMAGE_FIXTURE_IMAGE}:${FABRIC_ARCH}${FABRIC_ARCH_SEP}${FABRIC_BASEIMAGE_FIXTURE_TAG}
2424 environment :
2525 - DOCKER_HOST=http://dockerd.example.com:2375
2626 # - CORE_CHAINCODE_LOGGING_LEVEL=debug
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ version: '2'
88services :
99
1010 integration-tests :
11- image : ${FABRIC_DOCKER_REGISTRY }${FABRIC_BASEIMAGE_FIXTURE_IMAGE}:${FABRIC_ARCH}${FABRIC_ARCH_SEP}${FABRIC_BASEIMAGE_FIXTURE_TAG}
11+ image : ${FABRIC_BASE_DOCKER_REGISTRY }${FABRIC_BASEIMAGE_FIXTURE_IMAGE}:${FABRIC_ARCH}${FABRIC_ARCH_SEP}${FABRIC_BASEIMAGE_FIXTURE_TAG}
1212 environment :
1313 - GO_TAGS
1414 - GO_TESTFLAGS
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ version: '2'
88services :
99
1010 integration-tests :
11- image : ${FABRIC_DOCKER_REGISTRY }${FABRIC_BASEIMAGE_FIXTURE_IMAGE}:${FABRIC_ARCH}${FABRIC_ARCH_SEP}${FABRIC_BASEIMAGE_FIXTURE_TAG}
11+ image : ${FABRIC_BASE_DOCKER_REGISTRY }${FABRIC_BASEIMAGE_FIXTURE_IMAGE}:${FABRIC_ARCH}${FABRIC_ARCH_SEP}${FABRIC_BASEIMAGE_FIXTURE_TAG}
1212 environment :
1313 - GO_TAGS
1414 - GO_TESTFLAGS
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ version: '2'
88services :
99
1010 chaincoded :
11- image : ${FABRIC_DOCKER_REGISTRY }${FABRIC_BASEIMAGE_FIXTURE_IMAGE}:${FABRIC_ARCH}${FABRIC_ARCH_SEP}${FABRIC_BASEIMAGE_FIXTURE_TAG}
11+ image : ${FABRIC_BASE_DOCKER_REGISTRY }${FABRIC_BASEIMAGE_FIXTURE_IMAGE}:${FABRIC_ARCH}${FABRIC_ARCH_SEP}${FABRIC_BASEIMAGE_FIXTURE_TAG}
1212 command : tail -F anything
1313 logging :
1414 driver : none
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function waitForCoreVMUp {
99 # When dockerd handles chaincode operation, we need to wait for it to be ready
1010 # (it takes time to start due to chaincode compilation).
1111 if [[ " ${CORE_VM_ENDPOINT} " =~ http://(.* ):(.* ) ]]; then
12- declare attempt=0
12+ declare attempt=1
1313 declare host=${BASH_REMATCH[1]}
1414 declare port=${BASH_REMATCH[2]}
1515
@@ -20,7 +20,7 @@ function waitForCoreVMUp {
2020 echo " Waiting for VM endpoint to listen [${host} :${port} ]..."
2121 while true ; do
2222 if [ ${attempt} -gt 120 ]; then
23- echo " VM endpoint not listening after ${attempt} attempts "
23+ echo " VM endpoint is not listening after ${attempt} attempt(s) "
2424 exit 1
2525 fi
2626
@@ -32,6 +32,6 @@ function waitForCoreVMUp {
3232 sleep 1
3333 attempt=$(( attempt + 1 ))
3434 done
35- echo " VM endpoint is listening after ${attempt} attempts "
35+ echo " VM endpoint is listening after ${attempt} attempt(s) "
3636 fi
3737}
You can’t perform that action at this time.
0 commit comments