Skip to content

Commit 4127ec1

Browse files
committed
Merge pull request #129 from mccun934/20160524-1602
Fixes #15170 - Moving timeout to a large enough value
2 parents 5c643cf + 022e3d8 commit 4127ec1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/classes/katello_config_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
content = catalogue.resource('file', '/etc/foreman/plugins/katello.yaml').send(:parameters)[:content]
3535
content.split("\n").reject { |c| c =~ /(^#|^$)/ }.should == [
3636
':katello:',
37-
' :rest_client_timeout: 120',
37+
' :rest_client_timeout: 3600',
3838
' :post_sync_url: https://host.example.org/katello/api/v2/repositories/sync_complete?token=test_token',
3939
' :candlepin:',
4040
' :url: https://host.example.org:8443/candlepin',
@@ -72,7 +72,7 @@
7272
content = catalogue.resource('file', '/etc/foreman/plugins/katello.yaml').send(:parameters)[:content]
7373
content.split("\n").reject { |c| c =~ /(^#|^$)/ }.should == [
7474
':katello:',
75-
' :rest_client_timeout: 120',
75+
' :rest_client_timeout: 3600',
7676
' :post_sync_url: https://host.example.org/katello/api/v2/repositories/sync_complete?token=test_token',
7777
' :candlepin:',
7878
' :url: https://host.example.org:8443/candlepin',

templates/katello.yaml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:cdn_ssl_version: <%= @cdn_ssl_version %>
77
<%- end -%>
88

9-
:rest_client_timeout: 120
9+
:rest_client_timeout: 3600
1010

1111
:post_sync_url: https://<%= @fqdn %><%= @deployment_url %>/api/v2/repositories/sync_complete?token=<%= @post_sync_token %>
1212

0 commit comments

Comments
 (0)