Commit 9e06bddc authored by Thong Kuah's avatar Thong Kuah

Reduce polling interval in feature spec

Rather than waiting 10 seconds which is an eternity for a computer, we
change the polling interval to something much lower. This vastly
improves our spec runtime
parent 7318445e
......@@ -2,6 +2,9 @@
RSpec.shared_examples "installing applications for a cluster" do |managed_apps_local_tiller|
before do
# Reduce interval from 10 seconds which is too long for an automated test
stub_const("#{Clusters::ClustersController}::STATUS_POLLING_INTERVAL", 500)
stub_feature_flags(managed_apps_local_tiller: managed_apps_local_tiller)
visit cluster_path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment