This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch HDDS-3757
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
The following commit(s) were added to refs/heads/HDDS-3757 by this push:
new 1ad39fc make jacoco copy optional
1ad39fc is described below
commit 1ad39fc1700c397386c472a87c7c4b9d7a21d925
Author: Elek Márton <[email protected]>
AuthorDate: Fri Jun 12 16:13:24 2020 +0200
make jacoco copy optional
---
hadoop-ozone/dist/src/main/compose/testlib.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-ozone/dist/src/main/compose/testlib.sh
b/hadoop-ozone/dist/src/main/compose/testlib.sh
index 6df966e..88851de 100644
--- a/hadoop-ozone/dist/src/main/compose/testlib.sh
+++ b/hadoop-ozone/dist/src/main/compose/testlib.sh
@@ -194,7 +194,7 @@ wait_for_port(){
## @description Stops a docker-compose based test environment (with saving
the logs)
stop_docker_env(){
docker-compose -f "$COMPOSE_FILE" --no-ansi ps -q | while read CONTAINER ; do
- docker cp "$CONTAINER:/tmp/jacoco.exec"
"$RESULT_DIR/docker-$OUTPUT_NAME.$RANDOM.jacoco.exec"
+ docker cp "$CONTAINER:/tmp/jacoco.exec"
"$RESULT_DIR/docker-$OUTPUT_NAME.$RANDOM.jacoco.exec" || true
done
docker-compose -f "$COMPOSE_FILE" --no-ansi logs >
"$RESULT_DIR/docker-$OUTPUT_NAME.log"
if [ "${KEEP_RUNNING:-false}" = false ]; then
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]