Skip to content
代码片段 群组 项目
提交 f7b4fe29 编辑于 作者: Nicolas Dular's avatar Nicolas Dular
浏览文件

Increase query threshold for rolled up dates spec

上级 286730f7
No related branches found
No related tags found
无相关合并请求
...@@ -182,6 +182,9 @@ def add_existing_child(child_work_item) ...@@ -182,6 +182,9 @@ def add_existing_child(child_work_item)
context 'when removing all children' do context 'when removing all children' do
it 'rolled up child dates' do it 'rolled up child dates' do
# https://gitlab.com/gitlab-org/gitlab/-/issues/473408
allow(Gitlab::QueryLimiting::Transaction).to receive(:threshold).and_return(107)
add_new_child(title: 'child issue 1', start_date: '2020-11-01', due_date: '2020-12-02') add_new_child(title: 'child issue 1', start_date: '2020-11-01', due_date: '2020-12-02')
add_new_child(title: 'child issue 2', start_date: '2020-12-01', due_date: '2021-01-02') add_new_child(title: 'child issue 2', start_date: '2020-12-01', due_date: '2021-01-02')
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册