diff --git a/apps/check-processing-time/src/check_processing_time.py b/apps/check-processing-time/src/check_processing_time.py index def7268d7..b2d75cde6 100644 --- a/apps/check-processing-time/src/check_processing_time.py +++ b/apps/check-processing-time/src/check_processing_time.py @@ -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