Skip to content

Commit

Permalink
fail during check_processing_time
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Nov 12, 2024
1 parent e16a88f commit af96db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/check-processing-time/src/check_processing_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def get_time_from_result(result: Union[list, dict]) -> Union[list, float]:

processing_time = (result['StoppedAt'] - result['StartedAt']) / 1000

if processing_time <= 0.0:
if processing_time > 0.0:
raise ValueError(f'{processing_time} <= 0.0')

return processing_time
Expand Down

0 comments on commit af96db7

Please sign in to comment.