From 477dc4ddf320bb93eb7d36324689ab11ca6c16c9 Mon Sep 17 00:00:00 2001 From: Michael Turner Date: Wed, 10 May 2023 15:08:57 -0700 Subject: [PATCH] Catch any form of exception when waiting for online or offline --- .../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