Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-29 09:08:52 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-29 09:08:52 +0300
commit31c56eec409257c58791063b1d26c269adf51787 (patch)
tree1328b21e994e06e7a604a2d33800e4f362442f1f /spec/commands
parentf26311e23466947e3b57914341866aa440e67267 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/commands')
-rw-r--r--spec/commands/sidekiq_cluster/cli_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/commands/sidekiq_cluster/cli_spec.rb b/spec/commands/sidekiq_cluster/cli_spec.rb
index e2fc907fd05..bbf5f2bc4d9 100644
--- a/spec/commands/sidekiq_cluster/cli_spec.rb
+++ b/spec/commands/sidekiq_cluster/cli_spec.rb
@@ -303,8 +303,9 @@ RSpec.describe Gitlab::SidekiqCluster::CLI, stub_settings_source: true do # rubo
allow(Gitlab::SidekiqCluster).to receive(:start).and_return([])
end
- it 'wipes the metrics directory' do
- expect(metrics_cleanup_service).to receive(:execute)
+ it 'wipes the metrics directory before starting workers' do
+ expect(metrics_cleanup_service).to receive(:execute).ordered
+ expect(Gitlab::SidekiqCluster).to receive(:start).ordered.and_return([])
cli.run(%w(foo))
end