Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Increase retry interval for subproject board spec save

Dombi Attila47f6264c5811
diff --git a/modules/boards/spec/features/action_boards/subproject_board_spec.rb b/modules/boards/spec/features/action_boards/subproject_board_spec.rb
index f6e81ffbece..42d6e3bccb2 100644
--- a/modules/boards/spec/features/action_boards/subproject_board_spec.rb
+++ b/modules/boards/spec/features/action_boards/subproject_board_spec.rb
@@ -163,7 +163,7 @@ RSpec.describe 'Subproject action board', :js, with_ee: %i[board_view] do
board_page.expect_card('Child 2', 'Task 1', present: true)
# Expect work package to be saved in query second
- retry_block do
+ retry_block(args: { tries: 3, base_interval: 5 }) do
raise "first should be empty" if first.reload.ordered_work_packages.any?
raise "second should have one item" if second.reload.ordered_work_packages.count != 1
end