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
path: root/spec/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-12-18 00:16:56 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-18 00:16:56 +0300
commit0747a86c840e286a70f0eb30385ee5e79f1d3939 (patch)
treebbb999106f3a6c19a6cf6b6bfc2c26a2a70d143e /spec/lib
parent4847ec0f5040b52509876b7df47cb7a304f7a89a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/database/sharding_key_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/lib/gitlab/database/sharding_key_spec.rb b/spec/lib/gitlab/database/sharding_key_spec.rb
index c2e6f90f492..b47f5ea5df0 100644
--- a/spec/lib/gitlab/database/sharding_key_spec.rb
+++ b/spec/lib/gitlab/database/sharding_key_spec.rb
@@ -93,8 +93,7 @@ RSpec.describe 'new tables missing sharding_key', feature_category: :cell do
def all_tables_to_sharding_key
entries_with_sharding_key = ::Gitlab::Database::Dictionary.entries.select do |entry|
- entry.sharding_key.present? &&
- ::Gitlab::Database::GitlabSchema.cell_local?(entry.gitlab_schema)
+ entry.sharding_key.present?
end
entries_with_sharding_key.to_h do |entry|