Prevent updating OVERRIDE to PASS
This commit is contained in:
parent
9cad5419d8
commit
5aeeb41995
1 changed files with 1 additions and 1 deletions
|
|
@ -1525,7 +1525,7 @@ def run_nvme_smart_tests(state, test, update_mode=False):
|
|||
test.failed = True
|
||||
test.update_status('FAIL')
|
||||
elif dev.smart_attributes:
|
||||
if dev.disk_ok and dev.self_test_passed:
|
||||
if dev.disk_ok and dev.self_test_passed and 'OVERRIDE' not in test.status:
|
||||
test.passed = True
|
||||
test.update_status('PASS')
|
||||
elif test.aborted:
|
||||
|
|
|
|||
Loading…
Reference in a new issue