You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/05/02 08:42:22 UTC

[flink] 01/10: [hotfix][travis] Add sleep before timestamp update

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.8
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 9109b58474a2936c1aa2f7e3358ae55b0c830bc2
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Sun Apr 28 12:20:56 2019 +0200

    [hotfix][travis] Add sleep before timestamp update
---
 tools/travis_controller.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/travis_controller.sh b/tools/travis_controller.sh
index 39ada67..8d8624a 100755
--- a/tools/travis_controller.sh
+++ b/tools/travis_controller.sh
@@ -156,6 +156,8 @@ elif [ $STAGE != "$STAGE_CLEANUP" ]; then
 	# adjust timestamps to prevent recompilation
 	find . -type f -name '*.java' | xargs touch
 	find . -type f -name '*.scala' | xargs touch
+	# wait a bit for better odds of different timestamps
+	sleep 5
 	find . -type f -name '*.class' | xargs touch
 	find . -type f -name '*.timestamp' | xargs touch
 	travis_time_finish