Skip to content

Fix push file size test

Mark Lapierre requested to merge qa-ml-fix-file-size-test into master

What does this MR do?

Application settings are cached for up to a minute. So when we change the receive_max_input_size setting, the setting might not be applied for minute. This caused the tests to intermittently fail.

Most of the time the setting is updated in under a minute, so instead of waiting a minute after changing the setting we retry the attempt to push if it fails (6 attempts with 10s between attempts).

See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30233#note_188616863

Closes https://gitlab.com/gitlab-org/quality/nightly/issues/113

Does this MR meet the acceptance criteria?

Conformity

Merge request reports