From c6f1978b44ec0e3dbf4c3392fd563129836bf6a3 Mon Sep 17 00:00:00 2001 From: Heinrich Lee Yu <heinrich@gitlab.com> Date: Wed, 23 Oct 2019 21:46:42 +0800 Subject: [PATCH] Fix broken master due to Sidekiq usage We switched to Sidekiq.fake when running tests but this test needs the worker to run inline --- ee/spec/services/epics/update_dates_service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/spec/services/epics/update_dates_service_spec.rb b/ee/spec/services/epics/update_dates_service_spec.rb index 1535d6ac02cf0..b503c23d37e8b 100644 --- a/ee/spec/services/epics/update_dates_service_spec.rb +++ b/ee/spec/services/epics/update_dates_service_spec.rb @@ -321,7 +321,7 @@ def setup_control_group expect(epic.due_date_sourcing_epic).to be_nil end - context "when epic dates are propagated upwards" do + context "when epic dates are propagated upwards", :sidekiq_inline do let(:top_level_parent_epic) { create(:epic, group: group) } let(:parent_epic) { create(:epic, group: group, parent: top_level_parent_epic) } -- GitLab