From cd2ae7046283b64bd2b518ca11ca6f0fa2162ff7 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Thu, 9 Mar 2017 15:28:56 -0800 Subject: [PATCH] Make times a bit sloppier as my test vm was kind of slow --- htsworkflow/util/test/test_queuecommands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htsworkflow/util/test/test_queuecommands.py b/htsworkflow/util/test/test_queuecommands.py index e320819..cf306e4 100644 --- a/htsworkflow/util/test/test_queuecommands.py +++ b/htsworkflow/util/test/test_queuecommands.py @@ -23,7 +23,7 @@ class testQueueCommands(TestCase): q.run() end = time.time()-start # we should only take the length of the longest sleep - self.failUnless( end > 1.9 and end < 2.1, + self.failUnless( end > 1.8 and end < 2.2, "took %s seconds, exected ~2" % (end,)) def test_limited_run_slow(self): @@ -39,7 +39,7 @@ class testQueueCommands(TestCase): start = time.time() q.run() end = time.time()-start - self.failUnless( end > 3.9 and end < 4.1, + self.failUnless( end > 3.7 and end < 4.3, "took %s seconds, expected ~4" % (end,)) -- 2.30.2