Skip to content

Commit

Permalink
Extend waiting time for solv file to 10 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
elariekerboull committed Aug 3, 2023
1 parent 4ddb91e commit 0313912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/features/step_definitions/command_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
end

Then(/^solver file for "([^"]*)" should reference "([^"]*)"$/) do |channel, pkg|
repeat_until_timeout(timeout: 300, message: "Reference #{pkg} not found in file.") do
repeat_until_timeout(timeout: 600, message: "Reference #{pkg} not found in file.") do
_result, code = $server.run("dumpsolv /var/cache/rhn/repodata/#{channel}/solv | grep #{pkg}", check_errors: false)
break if code.zero?
end
Expand Down

0 comments on commit 0313912

Please sign in to comment.