We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed1a00a commit 8552401Copy full SHA for 8552401
tests/test_validate_avro.sh
@@ -35,7 +35,10 @@ data_dir="tests/data"
35
broken_dir="tests/avro_broken"
36
# this relies on being run after the Spark => Avro tests to generate these files as I don't store avro files in this repo
37
rm -f "$data_dir/test.avro"
38
+# find will exit non-zero due to broken pipe caused by head
39
+set +o pipefail
40
sample_avro_file="$(find . -type f -iname '*.avro' | head -n1)"
41
+set -o pipefail
42
if [ -z "$sample_avro_file" ] && is_inside_docker; then
43
echo "No sample avro file found and running inside docker, skipping validate_avro.py tests"
44
exit 0
0 commit comments