From 5a46da975e090de0e592ad873eb62d8a802aecbf Mon Sep 17 00:00:00 2001 From: "a.berezin" Date: Thu, 16 May 2024 12:47:46 +0300 Subject: [PATCH] [#225] Restore invalid_obj check Signed-off-by: a.berezin --- src/frostfs_testlib/load/load_verifiers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frostfs_testlib/load/load_verifiers.py b/src/frostfs_testlib/load/load_verifiers.py index d2440dd..1784ab7 100644 --- a/src/frostfs_testlib/load/load_verifiers.py +++ b/src/frostfs_testlib/load/load_verifiers.py @@ -108,6 +108,8 @@ class LoadVerifier: invalid_objects = verify_metrics.read_failed_iterations total_left_objects = load_metrics.write_success_iterations - delete_success + if invalid_objects > 0: + issues.append(f"There were {invalid_objects} verification fails (hash mismatch).") # Due to interruptions we may see total verified objects to be less than written on writers count if abs(total_left_objects - verified_objects) > writers: issues.append( -- 2.45.2