Skip to content

Commit

Permalink
Make recency check even more lenient
Browse files Browse the repository at this point in the history
  • Loading branch information
samirelanduk committed Sep 5, 2023
1 parent 3c30d8f commit fdc9801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fdc9801

Please sign in to comment.