File tree Expand file tree Collapse file tree 3 files changed +32
-16
lines changed Expand file tree Collapse file tree 3 files changed +32
-16
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ echo ${TYPE}
1616
1717function coh_up() {
1818 echo " Starting test containers ..."
19- DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker- compose -f etc/docker-compose-2-members.yaml up --force-recreate --renew-anon-volumes -d
19+ DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker compose -f etc/docker-compose-2-members.yaml up --force-recreate --renew-anon-volumes -d
2020 SECONDS=0
2121 echo " Waiting for Coherence to be healthy (within 60s) ..."
2222 while [ ${SECONDS} -le 60 ]; do
@@ -29,14 +29,14 @@ function coh_up() {
2929 done
3030 node_version=$( node -v)
3131 filename=" logs-startup-${VERSION} -${node_version} .txt"
32- DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker- compose -f etc/docker-compose-2-members.yaml logs --no-color > " ${filename} "
32+ DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker compose -f etc/docker-compose-2-members.yaml logs --no-color > " ${filename} "
3333 echo " Coherence failed to become healthy. See ${filename} for details."
3434 coh_down
3535 exit 1
3636}
3737
3838function coh_down() {
39- DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker- compose -f etc/docker-compose-2-members.yaml down -v
39+ DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker compose -f etc/docker-compose-2-members.yaml down -v
4040}
4141
4242while getopts " ud" OPTION; do
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function run_tests() {
4242
4343function dump_logs() {
4444 node_version=$( node -v)
45- DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker- compose -f etc/docker-compose-2-members.yaml logs --no-color > logs-" ${1} " -test-" ${VERSION} " -" ${node_version} " .txt
45+ DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker compose -f etc/docker-compose-2-members.yaml logs --no-color > logs-" ${1} " -test-" ${VERSION} " -" ${node_version} " .txt
4646}
4747
4848function cleanup() {
You can’t perform that action at this time.
0 commit comments