summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-01-14 18:49:26 +0100
committerRémy Coutable <remy@rymai.me>2019-01-14 18:50:39 +0100
commit0130ff0bafce86dcb48a1e6351a75124878a2eba (patch)
treea1736d276ddc2e7582abdbd8c72898c4ce7cead9 /db
parent8285205815ccdb25238fcae1c1e91063a46f19b0 (diff)
downloadgitlab-ce-0130ff0bafce86dcb48a1e6351a75124878a2eba.tar.gz
Ignore Repository::AmbiguousRefError in db/fixtures/development
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/10_merge_requests.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/fixtures/development/10_merge_requests.rb b/db/fixtures/development/10_merge_requests.rb
index 8bdc7c6556c..2051bcff8f0 100644
--- a/db/fixtures/development/10_merge_requests.rb
+++ b/db/fixtures/development/10_merge_requests.rb
@@ -27,6 +27,9 @@ Gitlab::Seeder.quiet do
Sidekiq::Worker.skipping_transaction_check do
MergeRequests::CreateService.new(project, developer, params).execute
+ rescue Repository::AmbiguousRefError
+ # Ignore pipelines creation errors for now, we can doing that after
+ # https://gitlab.com/gitlab-org/gitlab-ce/issues/55966. will be resolved.
end
print '.'
end