Skip to content

Commit

Permalink
[FLINK-17010] Remove --quiet from s3 get operation
Browse files Browse the repository at this point in the history
The reason this failed with --quiet is that the test redirects stdout to
get the sorted results:

get_complete_result > "${TEST_DATA_DIR}/complete_result"

5f2f7d6 removed the --quiet parameter
from the s3 fetch command, which changed what is printed to stdout. The
s3 command is printing which file it is downloading and this log message
also ends up in the "result" output that is being sorted and checked.
  • Loading branch information
aljoscha committed Apr 7, 2020
1 parent 693cb6a commit a9f3e2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function s3_get_by_full_path_and_filename_prefix() {
args="$args --recursive"
fi
local relative_dir=${1#$TEST_INFRA_DIR}
aws_cli s3 cp "s3://$IT_CASE_S3_BUCKET/$2" "/hostdir/${relative_dir}" $args
aws_cli s3 cp --quiet "s3://$IT_CASE_S3_BUCKET/$2" "/hostdir/${relative_dir}" $args
}

###################################
Expand Down

0 comments on commit a9f3e2f

Please sign in to comment.