This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner, zach.ware
Date 2014-03-13.17:49:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394732994.45.0.363784938401.issue20910@psf.upfronthosting.co.za>
In-reply-to
Content
> AssertionError: timing 608.0 ms seconds > max timing 500.0 ms seconds;
> the clock 'monotonic' has a resolution of 15.6 ms;
> tolerate 1.0 ms seconds

Is it a virtual machine or a physical machine? Was your Windows busy? Did you run tests in parallel?

Only tolerate a difference of 1.0 ms is maybe too aggressive. A default of 100 ms is maybe more realistic?

Currently, this specific test accepts a difference of 500 ms:

         # Issue #20101: On some Windows machines, dt may be slightly low
-        self.assertTrue(0.45 <= dt <= 1.0, dt)
+        support.check_time_delta(0.5, dt, 0.5, clock='monotonic')
History
Date User Action Args
2014-03-13 17:49:54vstinnersetrecipients: + vstinner, ncoghlan, pitrou, r.david.murray, zach.ware, serhiy.storchaka
2014-03-13 17:49:54vstinnersetmessageid: <1394732994.45.0.363784938401.issue20910@psf.upfronthosting.co.za>
2014-03-13 17:49:54vstinnerlinkissue20910 messages
2014-03-13 17:49:54vstinnercreate