Skip to content

Commit

Permalink
Get salt logs before waiting to see the system
Browse files Browse the repository at this point in the history
  • Loading branch information
srbarrios authored Nov 14, 2024
1 parent 479aeb1 commit 52e20ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testsuite/features/step_definitions/setup_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@
# Register client

When(/^I wait at most (\d+) seconds until I see the name of "([^"]*)", refreshing the page$/) do |seconds, host|
get_target("server").run("salt-key -F", verbose: true)
get_target(host).run("venv-salt-call --local key.finger", verbose: true)
system_name = get_system_name(host)
repeat_until_timeout(message: "I can't see the system '#{system_name}'", timeout: seconds.to_i) do
step 'I wait until I do not see "Loading..." text'
Expand Down

0 comments on commit 52e20ba

Please sign in to comment.