Skip to content
代码片段 群组 项目
未验证 提交 32337e15 编辑于 作者: Stan Hu's avatar Stan Hu
浏览文件

Fix broken CI job in single database mode

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/184021
introduced a test that assumed a decomposed database were used, but we
have `single-db` pipelines that only use one database. Adjust the spec
to handle both single and multiple databases accordingly.
上级 ca2e152c
No related branches found
No related tags found
无相关合并请求
......@@ -124,7 +124,7 @@
let(:gitlab_schema) { 'gitlab_ci' }
it 'returns the database name' do
expect(database_name).to eq('ci')
expect(database_name).to eq(database_exists?(:ci) ? 'ci' : 'main')
end
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册