From c0354370287ace933d703034d965ffbe442647da Mon Sep 17 00:00:00 2001 From: Arkadiusz Szczepkowicz Date: Mon, 24 Jun 2024 16:24:37 +0200 Subject: [PATCH] #2291: Increase math_epsilon for comparing time field --- scripts/generate_and_validate_lb_data_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_and_validate_lb_data_file.py b/scripts/generate_and_validate_lb_data_file.py index 086603daed..8eb63ec0a5 100644 --- a/scripts/generate_and_validate_lb_data_file.py +++ b/scripts/generate_and_validate_lb_data_file.py @@ -27,7 +27,7 @@ def validate(vt_build, file_to_validate, reference_file): with open(vt_build + "/" + file_to_validate) as val_file, open(reference_file) as ref_file: to_validate = json.load(val_file) reference = json.load(ref_file) - diff = DeepDiff(to_validate, reference, report_repetition=True, math_epsilon=0.001) + diff = DeepDiff(to_validate, reference, report_repetition=True, math_epsilon=0.1) is_valid = not len(diff.affected_paths) if not is_valid: