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:
parent
b0577a3b27
commit
0bf688a0a6
2
test.sh
2
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")
|
||||
|
Reference in New Issue
Block a user