From 93824886e9c3323a77e60c0ef5b5b706cdfe1ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Elek?= Date: Wed, 10 Jul 2019 13:22:51 +0200 Subject: [PATCH] HDDS-1764. Fix hidden errors in acceptance tests Closes #1059 --- .../dist/src/main/compose/ozone-mr/docker-compose.yaml | 2 +- .../dist/src/main/compose/ozonesecure-mr/docker-compose.yaml | 4 ++-- hadoop-ozone/dist/src/main/compose/test-all.sh | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hadoop-ozone/dist/src/main/compose/ozone-mr/docker-compose.yaml b/hadoop-ozone/dist/src/main/compose/ozone-mr/docker-compose.yaml index 652d64e126a..a0d138f0bfb 100644 --- a/hadoop-ozone/dist/src/main/compose/ozone-mr/docker-compose.yaml +++ b/hadoop-ozone/dist/src/main/compose/ozone-mr/docker-compose.yaml @@ -49,7 +49,7 @@ services: - ./docker-config command: ["/opt/hadoop/bin/ozone","s3g"] scm: - image: apache/ozone-runner:latest:${HADOOP_RUNNER_VERSION} + image: apache/ozone-runner:${HADOOP_RUNNER_VERSION} hostname: scm volumes: - ../..:/opt/hadoop diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/docker-compose.yaml b/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/docker-compose.yaml index 135da031cf6..31f74f087ed 100644 --- a/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/docker-compose.yaml +++ b/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/docker-compose.yaml @@ -64,7 +64,7 @@ services: - ./docker-config command: ["/opt/hadoop/bin/ozone","s3g"] scm: - image: apache/ozone-runner:latest:${HADOOP_RUNNER_VERSION} + image: apache/ozone-runner:${HADOOP_RUNNER_VERSION} hostname: scm volumes: - ../..:/opt/hadoop @@ -120,4 +120,4 @@ services: - 4040:4040 env_file: - docker-config - command: ["watch","-n","100000","ls"] \ No newline at end of file + command: ["watch","-n","100000","ls"] diff --git a/hadoop-ozone/dist/src/main/compose/test-all.sh b/hadoop-ozone/dist/src/main/compose/test-all.sh index 5039207d3cd..7883e878e7d 100755 --- a/hadoop-ozone/dist/src/main/compose/test-all.sh +++ b/hadoop-ozone/dist/src/main/compose/test-all.sh @@ -37,7 +37,8 @@ for test in $(find "$SCRIPT_DIR" -name test.sh); do ./test.sh ret=$? if [[ $ret -ne 0 ]]; then - RESULT=-1 + RESULT=1 + echo "ERROR: Test execution of $(dirname "$test") is FAILED!!!!" fi RESULT_DIR="$(dirname "$test")/result" cp "$RESULT_DIR"/robot-*.xml "$ALL_RESULT_DIR"