Skip to content

Commit

Permalink
Make recency check more lenient
Browse files Browse the repository at this point in the history
  • Loading branch information
samirelanduk committed Sep 5, 2023
1 parent 83ec1df commit 3c30d8f
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 @@ -44,8 +44,8 @@ def check_execution(self, execution, line_count=24, output_path=None, version=No
if check_stderr: self.assertFalse(execution.stderr)
self.assertEqual(execution.return_code, "0")
if not timezone:
self.assertLessEqual((datetime.now() - execution.started).seconds, 5)
self.assertLessEqual((datetime.now() - execution.finished).seconds, 5)
self.assertLessEqual((datetime.now() - execution.started).seconds, 10)
self.assertLessEqual((datetime.now() - execution.finished).seconds, 10)
self.assertGreater(execution.finished, execution.started)
if version:
self.assertTrue(execution.command.startswith(f"NXF_ANSI_LOG=false NXF_VER={version} nextflow -Duser.country=US"))
Expand Down

0 comments on commit 3c30d8f

Please sign in to comment.