HDDS-1764. Fix hidden errors in acceptance tests

Closes #1059
This commit is contained in:
Márton Elek 2019-07-10 13:22:51 +02:00
parent e0fa1040af
commit 93824886e9
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28
3 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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"]
command: ["watch","-n","100000","ls"]

View File

@ -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"