Skip to content

Commit

Permalink
QE: Try a more fine grain search when looking for a system
Browse files Browse the repository at this point in the history
  • Loading branch information
srbarrios committed Dec 20, 2023
1 parent 5b0abbf commit 25eb612
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 @@ -646,7 +646,7 @@
step 'I wait until "rhn-search" service is active on "server"'
repeat_until_timeout(timeout: 60, message: 'rhn-search is not responding properly.') do
log "Search by hostname: #{get_target('sle_minion').hostname}"
result = $api_test.system.search.hostname(get_target('sle_minion').hostname)
result = $api_test.system.search_by_name(get_target('sle_minion').hostname)
log result
break if get_target('sle_minion').full_hostname.include? result.first['hostname']
rescue StandardError => e
Expand Down

0 comments on commit 25eb612

Please sign in to comment.