Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Noordsestern committed Aug 30, 2024
1 parent b090f61 commit 071b98f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions atest/execute_command.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Execute Timeout
[Documentation] FAIL SSHClientException: Timed out in 3 seconds
... LOG 1:2 INFO GLOB: *Command no. 1*Command no. 2*Command no. 3*
TRY
Execute Command for i in {1..10}; do echo "Command no. $i"; sleep 1; done timeout=3s output_if_timeout=True
Fail Expected timeout did not occur.
Execute Command for i in {1..5}; do echo "Command no. $i"; sleep 1; done timeout=3s output_if_timeout=True
EXCEPT SSHClientException: Timed out in 3 seconds
Log Test passed
Pass Execution Test passed: Command successfully timed out after 3 seconds.
EXCEPT AS ${exception}
Fail Unexpected exception: ${exception}
END
Fail Expected timeout did not occur.

Execute Command With Defaults
${stdout} = Execute Command ${REMOTE TEST ROOT}/${TEST SCRIPT NAME}
Expand Down

0 comments on commit 071b98f

Please sign in to comment.