Skip to content

Commit

Permalink
QE: docs: Replace minion with sle_minion
Browse files Browse the repository at this point in the history
We do not have a `minion` step hostname any more.
  • Loading branch information
nodeg committed Aug 15, 2023
1 parent 49e621a commit b582401
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions testsuite/documentation/cucumber-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -703,10 +703,10 @@ When implementing a step, to run a command on a target, use:

```ruby
get_target('server').run("uptime")
get_target('minion').run("uptime", check_errors: false)
get_target('minion').run("uptime", check_errors: true)
get_target('minion').run("uptime", check_errors: true, timeout: 300)
get_target('minion').run("uptime", check_errors: false, timeout: 500, user: 'root')
get_target('sle_minion').run("uptime", check_errors: false)
get_target('sle_minion').run("uptime", check_errors: true)
get_target('sle_minion').run("uptime", check_errors: true, timeout: 300)
get_target('sle_minion').run("uptime", check_errors: false, timeout: 500, user: 'root')
```

Arguments taken by method ```run``` are:
Expand All @@ -724,7 +724,7 @@ retry several times until ```DEFAULT_TIMEOUT```.
When implementing a step, to get the FQDN of the host, use:

```ruby
STDOUT.puts get_target('minion').full_hostname
STDOUT.puts get_target('sle_minion').full_hostname
```

### Converting between host name and target
Expand Down

0 comments on commit b582401

Please sign in to comment.