Skip to content

Commit

Permalink
[hotfix][travis] Use echo instead of printf
Browse files Browse the repository at this point in the history
Azure exhibits some problems when using printf.
  • Loading branch information
rmetzger authored and zentol committed Feb 6, 2020
1 parent 369ab8c commit 45e0b12
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tools/travis_watchdog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,27 +273,27 @@ cd ../../
case $TEST in
(misc)
if [ $EXIT_CODE == 0 ]; then
printf "\n\n==============================================================================\n"
printf "Running bash end-to-end tests\n"
printf "==============================================================================\n"
echo "\n\n==============================================================================\n"
echo "Running bash end-to-end tests\n"
echo "==============================================================================\n"

FLINK_DIR=build-target flink-end-to-end-tests/run-pre-commit-tests.sh

EXIT_CODE=$?
else
printf "\n==============================================================================\n"
printf "Previous build failure detected, skipping bash end-to-end tests.\n"
printf "==============================================================================\n"
echo "\n==============================================================================\n"
echo "Previous build failure detected, skipping bash end-to-end tests.\n"
echo "==============================================================================\n"
fi
if [ $EXIT_CODE == 0 ]; then
printf "\n\n==============================================================================\n"
printf "Running java end-to-end tests\n"
printf "==============================================================================\n"
echo "\n\n==============================================================================\n"
echo "Running java end-to-end tests\n"
echo "==============================================================================\n"

run_with_watchdog "$MVN_E2E -DdistDir=$(readlink -e build-target)"
else
printf "\n==============================================================================\n"
printf "Previous build failure detected, skipping java end-to-end tests.\n"
echo "\n==============================================================================\n"
echo "Previous build failure detected, skipping java end-to-end tests.\n"
fi
;;
esac
Expand Down

0 comments on commit 45e0b12

Please sign in to comment.