diff --git a/src/tests/hash_test.py b/src/tests/hash_test.py index 516ccf6fa91a24bf96f36053821877ed09c973f5..87eb40b56aedeb5655037c8981ff9525551611eb 100644 --- a/src/tests/hash_test.py +++ b/src/tests/hash_test.py @@ -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"))