diff options
Diffstat (limited to 'spec/features/projects/clusters/applications_spec.rb')
-rw-r--r-- | spec/features/projects/clusters/applications_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/projects/clusters/applications_spec.rb b/spec/features/projects/clusters/applications_spec.rb index 99c6b450633..0b319c46b6d 100644 --- a/spec/features/projects/clusters/applications_spec.rb +++ b/spec/features/projects/clusters/applications_spec.rb @@ -121,8 +121,9 @@ describe 'Clusters Applications', :js do def wait_until_helm_created! retries = 0 - while Clusters::Cluster.last.application_helm.nil? do + while Clusters::Cluster.last.application_helm.nil? raise "Timed out waiting for helm application to be created in DB" if (retries += 1) > 3 + sleep(1) end end |