diff --git a/testsuite/features/step_definitions/command_steps.rb b/testsuite/features/step_definitions/command_steps.rb index d038827e78b4..b2bb6d284a5b 100644 --- a/testsuite/features/step_definitions/command_steps.rb +++ b/testsuite/features/step_definitions/command_steps.rb @@ -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'