Skip to content

Commit

Permalink
limit command output to important lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Oct 16, 2023
1 parent 65e10cb commit 1222cc1
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 @@ -692,7 +692,7 @@

Then(/^I wait until mgr-sync refresh is finished$/) do
# mgr-sync refresh is a slow operation, we don't use the default timeout
cmd = 'spacecmd -u admin -p admin api sync.content.listProducts'
cmd = 'spacecmd -u admin -p admin api sync.content.listProducts | grep SLES'
repeat_until_timeout(timeout: 1800, message: '\'mgr-sync refresh\' did not finish') do
result, code = get_target('server').run(cmd, check_errors: false)
break if result.include? 'SLES'
Expand Down

0 comments on commit 1222cc1

Please sign in to comment.