Skip to content
Snippets Groups Projects
Commit 4e15a9d1 authored by Justus Müller's avatar Justus Müller :bee:
Browse files

fix: End hash test if wear-levelling occurrs

parent 714e65f0
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ class HashTest(DecisionTest):
# hash changed
print(colored("[HashTest] The drive hash changed.", "red"))
detected_wear_levelling = True
break
prior_hash = current_hash
if iteration >= 120: # 5 days of observation at max
print(colored(f"[HashTest] Reached iteration {iteration} (max iterations was set to 120 = 5 days). Stopping the test.", "light_blue"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment