2
0

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.
This commit is contained in:
Burak Yigit Kaya 2020-07-15 22:53:56 +03:00
parent b0577a3b27
commit 0bf688a0a6
No known key found for this signature in database
GPG Key ID: C2F03C406631065D

View File

@ -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")