From 283f06a033ce4f6301af34282bee5448b3beb6a1 Mon Sep 17 00:00:00 2001 From: Mike Raineri Date: Mon, 28 Oct 2019 08:13:42 -0400 Subject: [PATCH] Fixed check at the end of the one time boot test to check for BootSourceOverrideEnabled going back to Disabled --- one_time_boot/one_time_boot_check.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/one_time_boot/one_time_boot_check.py b/one_time_boot/one_time_boot_check.py index 059c0fd..384fd87 100644 --- a/one_time_boot/one_time_boot_check.py +++ b/one_time_boot/one_time_boot_check.py @@ -98,14 +98,14 @@ for i in range( 0, 60 ): time.sleep( 1 ) boot_obj = redfish_utilities.get_system_boot( redfish_obj, system ) - if boot_obj["BootSourceOverrideTarget"] == "None": + if boot_obj["BootSourceOverrideEnabled"] == "Disabled": break - if boot_obj["BootSourceOverrideTarget"] == "None": + if boot_obj["BootSourceOverrideEnabled"] == "Disabled": print( "{} booted from {}!".format( system, test_path ) ) results.update_test_results( "Boot Verify", 0, None ) else: print( "{} failed to boot from {}!".format( system, test_path ) ) - results.update_test_results( "Boot Verify", 1, "{} did not reset back to 'None'".format( system ) ) + results.update_test_results( "Boot Verify", 1, "{} did not reset back to 'Disabled'".format( system ) ) # Save the results results.write_results()