diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-06 10:23:15 +0100 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-06 10:23:15 +0100 |
commit | 80b0834ae96480202678d8ca1e19c0ee4abf9001 (patch) | |
tree | a21e434355a170350086114cb0f89f9ab7785d73 /spec/factories/clusters | |
parent | c6c9b37b1d1c9304b0eef530adb4d32178adae16 (diff) | |
download | gitlab-ce-80b0834ae96480202678d8ca1e19c0ee4abf9001.tar.gz |
Add Clusters::Appplications::CheckInstallationProgressService tests
Diffstat (limited to 'spec/factories/clusters')
-rw-r--r-- | spec/factories/clusters/applications/helm.rb | 5 |
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 |