Skip to content

Retry to send request once if response was Bad Gateway error

Nailia Iskhakova requested to merge retry-on-bad-gateway-error into master

This MR adds one retry if request response code was 502 Bad Gateway error. When the GitLab environment was just only spun up and when running the Generator against such an environment, the request can fail with 502 and in this case, we should try to resend the request one more time with some delay (set to 5sec).

Merge request reports