In some computers, the step of SMART test hangs after the progress bar reaches its end. If the process is interrupted with Ctrl+C, it reveals that it's sitting on the time.sleep(5) at the end of the while remaining > 0 loop in benchmark.py:hard_disk_smart().
A similar hang was fixed in commit ea0c79f0, however the fix may not be correct or complete.
Also, the returned error field may be null instead of a boolean.
In some computers, the step of SMART test hangs after the progress bar reaches its end. If the process is interrupted with Ctrl+C, it reveals that it's sitting on the
time.sleep(5)
at the end of thewhile remaining > 0
loop inbenchmark.py:hard_disk_smart()
.A similar hang was fixed in commit ea0c79f0, however the fix may not be correct or complete.
Also, the returned
error
field may be null instead of a boolean.