Updated disk_attribute_check()
This commit is contained in:
parent
445523e5f1
commit
b71bca4577
1 changed files with 13 additions and 4 deletions
|
|
@ -495,10 +495,19 @@ def cpu_mprime_test(state, test_objects):
|
||||||
def disk_attribute_check(state, test_objects):
|
def disk_attribute_check(state, test_objects):
|
||||||
"""Disk attribute check."""
|
"""Disk attribute check."""
|
||||||
LOG.info('Disk Attribute Check')
|
LOG.info('Disk Attribute Check')
|
||||||
#TODO: at
|
for test in test_objects:
|
||||||
LOG.debug('%s, %s', state, test_objects)
|
if not test.dev.attributes:
|
||||||
std.print_warning('TODO: at')
|
# No NVMe/SMART data
|
||||||
std.pause()
|
test.set_status('N/A')
|
||||||
|
continue
|
||||||
|
|
||||||
|
if test.dev.check_attributes():
|
||||||
|
test.set_status('Passed')
|
||||||
|
else:
|
||||||
|
test.set_status('Failed')
|
||||||
|
|
||||||
|
# Done
|
||||||
|
state.update_progress_pane()
|
||||||
|
|
||||||
|
|
||||||
def disk_io_benchmark(state, test_objects):
|
def disk_io_benchmark(state, test_objects):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue