From 0bf688a0a6f86e0c7a1be0ad7a9fceaad7bdfa18 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Wed, 15 Jul 2020 22:53:56 +0300 Subject: [PATCH] ci: Increase timeout for getting test event Travis CI failed waiting on this multiple times so increase the grace period. Turns out during peak times things get slow. --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index a1f33dd..f8ff082 100755 --- a/test.sh +++ b/test.sh @@ -83,7 +83,7 @@ EVENT_PATH="projects/sentry/internal/events/$TEST_EVENT_ID/" export -f sentry_api_request get_csrf_token export SENTRY_TEST_HOST COOKIE_FILE EVENT_PATH printf "Getting the test event back" -timeout 15 bash -c 'until $(sentry_api_request "$EVENT_PATH" -Isf -X GET -o /dev/null); do printf '.'; sleep 0.5; done' +timeout 30 bash -c 'until $(sentry_api_request "$EVENT_PATH" -Isf -X GET -o /dev/null); do printf '.'; sleep 0.5; done' echo ""; EVENT_RESPONSE=$(sentry_api_request "$EVENT_PATH")