Skip to content

Commit

Permalink
Allow all exceptions to indicate system is offline (#95)
Browse files Browse the repository at this point in the history
Pinging a QEMU virtual system doesn't work for detecting the system
going offline, so the ping was removed from both the offline and online
path of the test cases. However, this broke testing with real system.

Allow all exceptions to signal system not available when waiting for
online or offline.

Fixes #94 

- [x] Impacts functionality?
- [ ] Impacts security?
- [x] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

Tested on the QEMU path and a physical system.

## Integration Instructions

N/A

Co-authored-by: Doug Flick <[email protected]>
  • Loading branch information
mikeytdisco and Flickdm authored May 17, 2023
1 parent 2759a3f commit 7f8ee4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Reboot System And Wait For System Online
TRY
${reboot_complete}= is_reboot_complete
EXCEPT Connection to remote server broken type=start
EXCEPT
${reboot_complete}= Set Variable ${False}
BREAK
END
Expand All @@ -198,7 +198,7 @@ Reboot System And Wait For System Online
TRY
${reboot_complete}= is_reboot_complete
EXCEPT Connection to remote server broken type=start
EXCEPT
${reboot_complete}= Set Variable ${False}
END
END
Expand Down

0 comments on commit 7f8ee4c

Please sign in to comment.