From 3c30d8f214b8d0258253d0b877e12e9fa3227b01 Mon Sep 17 00:00:00 2001 From: Sam Ireland Date: Tue, 5 Sep 2023 22:33:55 +0100 Subject: [PATCH] Make recency check 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 a3b46fd..ead051c 100644 --- a/tests/integration/base.py +++ b/tests/integration/base.py @@ -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"))