summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-08-01 13:18:52 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-08-01 13:18:52 +0000
commit5f742eb95a0080343167469ccabfeccd3630007d (patch)
tree545b524f3ce17ce154238e87b393bef987a001df
parent71384c590cda562ed0ccf62daee66cd69ea82f4f (diff)
parentbec319f894209044f31e3befac84238b6cad6eed (diff)
downloadgitlab-ce-5f742eb95a0080343167469ccabfeccd3630007d.tar.gz
Merge branch 'timeouted' into 'master'
correct error message on helm tiller installation timeout See merge request gitlab-org/gitlab-ce!20683
-rw-r--r--app/services/clusters/applications/check_installation_progress_service.rb2
-rw-r--r--spec/services/clusters/applications/check_installation_progress_service_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/services/clusters/applications/check_installation_progress_service.rb b/app/services/clusters/applications/check_installation_progress_service.rb
index a1165b0ab28..35f5cff0e0c 100644
--- a/app/services/clusters/applications/check_installation_progress_service.rb
+++ b/app/services/clusters/applications/check_installation_progress_service.rb
@@ -35,7 +35,7 @@ module Clusters
def check_timeout
if timeouted?
begin
- app.make_errored!('Installation timeouted')
+ app.make_errored!('Installation timed out')
ensure
remove_installation_pod
end
diff --git a/spec/services/clusters/applications/check_installation_progress_service_spec.rb b/spec/services/clusters/applications/check_installation_progress_service_spec.rb
index 6894c1797b0..986f11410fd 100644
--- a/spec/services/clusters/applications/check_installation_progress_service_spec.rb
+++ b/spec/services/clusters/applications/check_installation_progress_service_spec.rb
@@ -43,7 +43,7 @@ describe Clusters::Applications::CheckInstallationProgressService do
service.execute
expect(application).to be_errored
- expect(application.status_reason).to match(/\btimeouted\b/)
+ expect(application.status_reason).to match(/\btimed out\b/)
end
end
end