From fdc9801b54be44193c44e587e047cc598c636667 Mon Sep 17 00:00:00 2001 From: Sam Ireland Date: Tue, 5 Sep 2023 22:38:37 +0100 Subject: [PATCH] Make recency check even more lenient --- tests/integration/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/base.py b/tests/integration/base.py index ead051c..e81b13a 100644 --- a/tests/integration/base.py +++ b/tests/integration/base.py @@ -196,8 +196,8 @@ def get_process_execution(self, execution, name): def check_process_execution(self, process_execution, execution, long, check_time=True): self.assertEqual(process_execution.started.year, datetime.now().year) if check_time: - self.assertLessEqual((datetime.now() - execution.started).seconds, 30 if long else 5) - self.assertLessEqual((datetime.now() - execution.finished).seconds, 30 if long else 5) + self.assertLessEqual((datetime.now() - execution.started).seconds, 45 if long else 10) + self.assertLessEqual((datetime.now() - execution.finished).seconds, 45 if long else 10) self.assertEqual(process_execution.return_code, "0") self.assertEqual(process_execution.status, "COMPLETED") self.assertIs(process_execution.execution, execution)