summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-12-09 01:01:42 -0800
committerStan Hu <stanhu@gmail.com>2017-12-12 15:07:25 -0800
commit54f13b1ec8542dc5085e0367734e8344c2c3d01e (patch)
treeb5557f077e3d1d13e7148a5eaba682b9000153ca /spec
parentf8c3a58a54d622193a0cf15777a0d0631289278c (diff)
downloadgitlab-ce-54f13b1ec8542dc5085e0367734e8344c2c3d01e.tar.gz
Add rate limiting to guard against excessive scheduling of pipelines
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/projects/pipeline_schedules_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/pipeline_schedules_controller_spec.rb b/spec/controllers/projects/pipeline_schedules_controller_spec.rb
index 8888573e882..844c62ef005 100644
--- a/spec/controllers/projects/pipeline_schedules_controller_spec.rb
+++ b/spec/controllers/projects/pipeline_schedules_controller_spec.rb
@@ -366,7 +366,7 @@ describe Projects::PipelineSchedulesController do
end
end
- describe 'POST #play' do
+ describe 'POST #play', :clean_gitlab_redis_cache do
set(:user) { create(:user) }
let(:ref) { 'master' }