Make times a bit sloppier as my test vm was kind of slow
authorDiane Trout <diane@testing.woldlab.caltech.edu>
Thu, 9 Mar 2017 23:28:56 +0000 (15:28 -0800)
committerDiane Trout <diane@testing.woldlab.caltech.edu>
Thu, 9 Mar 2017 23:28:56 +0000 (15:28 -0800)
htsworkflow/util/test/test_queuecommands.py

index e320819be3094a27e053a3a10e8e02bd4c533a77..cf306e4f02dde11e944dafd9128f611d0474cdc9 100644 (file)
@@ -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,))