summaryrefslogtreecommitdiff
path: root/spec/workers/namespaces/root_statistics_worker_spec.rb
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2019-08-01 15:14:21 -0500
committerMayra Cabrera <mcabrera@gitlab.com>2019-08-02 09:29:29 -0500
commitc6acb77d8a19063f26f8dfcda85beead50fe6e96 (patch)
tree4c3c1256b67d3c77e5c5f8997026d026001c6dc4 /spec/workers/namespaces/root_statistics_worker_spec.rb
parent0fec9a4fc7fae7480a92d6402d3ad144b4bd7233 (diff)
downloadgitlab-ce-c6acb77d8a19063f26f8dfcda85beead50fe6e96.tar.gz
Removes update_statistics_namespace feature flag
After measuring the impact of the namespace storage on https://gitlab.com/gitlab-org/gitlab-ce/issues/64092. It was decided that it's performant enough. So we can freely remove the feature flag Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64092
Diffstat (limited to 'spec/workers/namespaces/root_statistics_worker_spec.rb')
-rw-r--r--spec/workers/namespaces/root_statistics_worker_spec.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/workers/namespaces/root_statistics_worker_spec.rb b/spec/workers/namespaces/root_statistics_worker_spec.rb
index 8dd74b96d49..6bbdfe03ceb 100644
--- a/spec/workers/namespaces/root_statistics_worker_spec.rb
+++ b/spec/workers/namespaces/root_statistics_worker_spec.rb
@@ -74,15 +74,4 @@ describe Namespaces::RootStatisticsWorker, '#perform' do
worker.perform(group.id)
end
end
-
- context 'when update_statistics_namespace is off' do
- it 'does not create a new one' do
- stub_feature_flags(update_statistics_namespace: false, namespace: group)
-
- expect_any_instance_of(Namespaces::StatisticsRefresherService)
- .not_to receive(:execute)
-
- worker.perform(group.id)
- end
- end
end