Skip to content

Commit

Permalink
#2291: Increase math_epsilon for comparing time field
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable authored and cwschilly committed Sep 20, 2024
1 parent 2220a40 commit 38f5137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_and_validate_lb_data_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 38f5137

Please sign in to comment.