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/db
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-12 00:09:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-12 00:09:48 +0300
commitc77ce73fa85c128dfeb90a45c4eb306b8c1fe0c9 (patch)
tree095d7aea5d0817382f947f9d2c04e45fcfad47c9 /db
parent11c2b8eff6ca5360fb0f732b23b764d2a0b81be5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/20_nested_groups.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/db/fixtures/development/20_nested_groups.rb b/db/fixtures/development/20_nested_groups.rb
index 8f64dfbd644..d9aea17aa16 100644
--- a/db/fixtures/development/20_nested_groups.rb
+++ b/db/fixtures/development/20_nested_groups.rb
@@ -23,8 +23,9 @@ Sidekiq::Testing.inline! do
full_path = url.sub('https://android.googlesource.com/', '')
full_path = full_path.sub(/\.git\z/, '')
full_path, _, project_path = full_path.rpartition('/')
- group = Group.find_by_full_path(full_path) ||
- Groups::NestedCreateService.new(user, group_path: full_path).execute
+ group = Sidekiq::Worker.skipping_transaction_check do
+ Group.find_by_full_path(full_path) || Groups::NestedCreateService.new(user, group_path: full_path).execute
+ end
params = {
import_url: url,