Skip to content
代码片段 群组 项目
提交 4328b002 编辑于 作者: Terri Chu's avatar Terri Chu
浏览文件

Merge branch '433139-fix-bug' into 'master'

Bitbucket importer: fix undefined method `key'

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138282



Merged-by: default avatarTerri Chu <tchu@gitlab.com>
Approved-by: default avatarTerri Chu <tchu@gitlab.com>
Approved-by: default avatarAdam Hegyi <ahegyi@gitlab.com>
Approved-by: default avatarCarla Drago <cdrago@gitlab.com>
Reviewed-by: default avatarTerri Chu <tchu@gitlab.com>
Co-authored-by: default avatarmaddievn <mvanniekerk@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -33,6 +33,7 @@ def execute ...@@ -33,6 +33,7 @@ def execute
job_waiter job_waiter
rescue StandardError => e rescue StandardError => e
track_import_failure!(project, exception: e) track_import_failure!(project, exception: e)
job_waiter
end end
private private
......
...@@ -22,6 +22,7 @@ def execute ...@@ -22,6 +22,7 @@ def execute
job_waiter job_waiter
rescue StandardError => e rescue StandardError => e
track_import_failure!(project, exception: e) track_import_failure!(project, exception: e)
job_waiter
end end
private private
......
...@@ -26,6 +26,7 @@ def execute ...@@ -26,6 +26,7 @@ def execute
job_waiter job_waiter
rescue StandardError => e rescue StandardError => e
track_import_failure!(project, exception: e) track_import_failure!(project, exception: e)
job_waiter
end end
private private
......
...@@ -22,6 +22,7 @@ def execute ...@@ -22,6 +22,7 @@ def execute
job_waiter job_waiter
rescue StandardError => e rescue StandardError => e
track_import_failure!(project, exception: e) track_import_failure!(project, exception: e)
job_waiter
end end
private private
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
it 'tracks the failure and does not fail' do it 'tracks the failure and does not fail' do
expect(Gitlab::Import::ImportFailureService).to receive(:track).once expect(Gitlab::Import::ImportFailureService).to receive(:track).once
importer.execute expect(importer.execute).to be_a(Gitlab::JobWaiter)
end end
end end
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
it 'tracks the failure and does not fail' do it 'tracks the failure and does not fail' do
expect(Gitlab::Import::ImportFailureService).to receive(:track).once expect(Gitlab::Import::ImportFailureService).to receive(:track).once
importer.execute expect(importer.execute).to be_a(Gitlab::JobWaiter)
end end
end end
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
it 'tracks the failure and does not fail' do it 'tracks the failure and does not fail' do
expect(Gitlab::Import::ImportFailureService).to receive(:track).once expect(Gitlab::Import::ImportFailureService).to receive(:track).once
importer.execute expect(importer.execute).to be_a(Gitlab::JobWaiter)
end end
end end
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
it 'tracks the failure and does not fail' do it 'tracks the failure and does not fail' do
expect(Gitlab::Import::ImportFailureService).to receive(:track).once expect(Gitlab::Import::ImportFailureService).to receive(:track).once
importer.execute expect(importer.execute).to be_a(Gitlab::JobWaiter)
end end
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册