Skip to content

Commit

Permalink
QE: Force FQDN check to run locally
Browse files Browse the repository at this point in the history
There are issues when using only rum() where the command could
potentially be executed inside a container instead of the host. With
this change, we force the execution on the host.

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>
  • Loading branch information
nodeg committed Jan 24, 2024
1 parent 0a77eca commit 3686e59
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 @@ -13,7 +13,7 @@

Then(/^"([^"]*)" should have a FQDN$/) do |host|
node = get_target(host)
result, return_code = node.run('date +%s; hostname -f; date +%s', check_errors: false)
result, return_code = node.run_local('date +%s; hostname -f; date +%s', check_errors: false)
lines = result.split("\n")
initial_time = lines[0]
result = lines[1]
Expand Down

0 comments on commit 3686e59

Please sign in to comment.