Commit c2dbf863 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'bvl-fix-application-setting-controller-spec' into 'master'

Update the mirror delay to something that's valid in controller spec

See merge request !2520
parents 89d7c75a 10f867b6
......@@ -65,8 +65,10 @@ describe Admin::ApplicationSettingsController do # rubocop:disable RSpec/FilePat
it 'updates mirror settings when repository mirrors is licensed' do
stub_licensed_features(repository_mirrors: true)
mirror_delay = (Gitlab::Mirror.min_delay_upper_bound / 60) + 1
settings = {
mirror_max_delay: 12,
mirror_max_delay: mirror_delay,
mirror_max_capacity: 2,
mirror_capacity_threshold: 2
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment