diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-02-25 12:45:26 +1100 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-02-25 12:50:03 +1100 |
commit | 20897ebc7afe498c7a521dbe9f9c197ee63d346b (patch) | |
tree | a397056c37fa61746a4096042e7b0341d1018c69 /spec | |
parent | 636e2856177cd86e6d810fce50d396ca8f7f4c45 (diff) | |
download | gitlab-ce-20897ebc7afe498c7a521dbe9f9c197ee63d346b.tar.gz |
Increase lease timeout for CheckIngressIpAddressService to reduce polling frequency (#42643)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/clusters/applications/check_ingress_ip_address_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/clusters/applications/check_ingress_ip_address_service_spec.rb b/spec/services/clusters/applications/check_ingress_ip_address_service_spec.rb index e14c82d32d4..bf038595a4d 100644 --- a/spec/services/clusters/applications/check_ingress_ip_address_service_spec.rb +++ b/spec/services/clusters/applications/check_ingress_ip_address_service_spec.rb @@ -25,7 +25,7 @@ describe Clusters::Applications::CheckIngressIpAddressService do allow(application.cluster).to receive(:kubeclient).and_return(kubeclient) allow(Gitlab::ExclusiveLease) .to receive(:new) - .with("check_ingress_ip_address_service:#{application.id}", timeout: 3.seconds.to_i) + .with("check_ingress_ip_address_service:#{application.id}", timeout: 15.seconds.to_i) .and_return(exclusive_lease) end |