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}
16
16
17
17
function coh_up() {
18
18
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
20
20
SECONDS=0
21
21
echo " Waiting for Coherence to be healthy (within 60s) ..."
22
22
while [ ${SECONDS} -le 60 ]; do
@@ -29,14 +29,14 @@ function coh_up() {
29
29
done
30
30
node_version=$( node -v)
31
31
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} "
33
33
echo " Coherence failed to become healthy. See ${filename} for details."
34
34
coh_down
35
35
exit 1
36
36
}
37
37
38
38
function 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
40
40
}
41
41
42
42
while getopts " ud" OPTION; do
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function run_tests() {
42
42
43
43
function dump_logs() {
44
44
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
46
46
}
47
47
48
48
function cleanup() {
You can’t perform that action at this time.
0 commit comments