From 1222cc16455e113b2bc5eba4e4553dc12464f30a Mon Sep 17 00:00:00 2001 From: Michael Calmer Date: Mon, 16 Oct 2023 11:05:08 +0200 Subject: [PATCH] limit command output to important lines --- testsuite/features/step_definitions/command_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'