Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 12:23:15 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 12:23:15 +0300
commit80b0834ae96480202678d8ca1e19c0ee4abf9001 (patch)
treea21e434355a170350086114cb0f89f9ab7785d73 /spec/factories/clusters/applications/helm.rb
parentc6c9b37b1d1c9304b0eef530adb4d32178adae16 (diff)
Add Clusters::Appplications::CheckInstallationProgressService tests
Diffstat (limited to 'spec/factories/clusters/applications/helm.rb')
-rw-r--r--spec/factories/clusters/applications/helm.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/clusters/applications/helm.rb b/spec/factories/clusters/applications/helm.rb
index 968a6a1a007..fd956097115 100644
--- a/spec/factories/clusters/applications/helm.rb
+++ b/spec/factories/clusters/applications/helm.rb
@@ -31,5 +31,10 @@ FactoryGirl.define do
status(-1)
status_reason 'something went wrong'
end
+
+ trait :timeouted do
+ installing
+ updated_at ClusterWaitForAppInstallationWorker::TIMEOUT.ago
+ end
end
end