From af96db7732013666f1c7987312090c2d83927c37 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Tue, 12 Nov 2024 10:55:32 -0900 Subject: [PATCH] fail during check_processing_time --- apps/check-processing-time/src/check_processing_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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