From 7f8ee4c53330cef141b8efe1e2cd91dcabba9f1c Mon Sep 17 00:00:00 2001 From: Michael Turner Date: Tue, 16 May 2023 23:51:38 -0700 Subject: [PATCH] Allow all exceptions to indicate system is offline (#95) 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 --- .../DfciTests/Support/Robot/DFCI_Shared_Keywords.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DfciPkg/UnitTests/DfciTests/Support/Robot/DFCI_Shared_Keywords.robot b/DfciPkg/UnitTests/DfciTests/Support/Robot/DFCI_Shared_Keywords.robot index 2365aa1d..84b14c52 100644 --- a/DfciPkg/UnitTests/DfciTests/Support/Robot/DFCI_Shared_Keywords.robot +++ b/DfciPkg/UnitTests/DfciTests/Support/Robot/DFCI_Shared_Keywords.robot @@ -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 @@ -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