diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-23 15:08:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-23 15:08:38 +0300 |
commit | 5ad0cf26551baff8f08af8562a8d45e6ec14d71a (patch) | |
tree | 57f1a6bad31bcd11efacd3fdfb9cc92f88fb6a86 /spec/lib/gitlab/gpg_spec.rb | |
parent | f47c768fad17d4c876e96524f83f8306f071db66 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/gpg_spec.rb')
-rw-r--r-- | spec/lib/gitlab/gpg_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/gpg_spec.rb b/spec/lib/gitlab/gpg_spec.rb index 27a3010eeed..fac2dbfab71 100644 --- a/spec/lib/gitlab/gpg_spec.rb +++ b/spec/lib/gitlab/gpg_spec.rb @@ -208,8 +208,8 @@ describe Gitlab::Gpg do allow(FileUtils).to receive(:remove_entry).with(any_args).and_call_original end - it "tries for #{seconds}" do - expect(Retriable).to receive(:retriable).with(a_hash_including(max_elapsed_time: seconds)) + it "tries for #{seconds} or 15 times" do + expect(Retriable).to receive(:retriable).with(a_hash_including(max_elapsed_time: seconds, tries: 15)) described_class.using_tmp_keychain {} end |