From: Diane Trout Date: Thu, 9 Mar 2017 23:28:56 +0000 (-0800) Subject: Make times a bit sloppier as my test vm was kind of slow X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=cd2ae7046283b64bd2b518ca11ca6f0fa2162ff7 Make times a bit sloppier as my test vm was kind of slow --- 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,))