diff --git a/src/tests/hash_test.py b/src/tests/hash_test.py index 6797676ec63be460b2410371c0620758dd94ed8b..ef18281db905d7f6bec032894733c7385a3f3bf2 100644 --- a/src/tests/hash_test.py +++ b/src/tests/hash_test.py @@ -71,15 +71,10 @@ class HashTest(DecisionTest): elif prior_hash != current_hash: # hash changed print(colored("[HashTest] The drive hash changed.", "red")) - if iteration >= 2: # theshold for expected changes - print(colored("[HashTest] The threshold of 2 changes before measuring is exceeded. This change is likely to be caused by wear levelling.", "light_blue")) detected_wear_levelling = True - break - else: - print(colored(f"[HashTest] The threshold of 2 changes before measuring is not exceeded yet. Currently at iteration {iteration}. Continuing...", "green")) prior_hash = current_hash - if iteration >= 168: # 7 days of observation at max - print(colored(f"[HashTest] Reached iteration {iteration} (max iterations was set to 168). Stopping the test.", "light_blue")) + 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")) detected_wear_levelling = False break