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.

classification
Title: Add support.check_time_delta()
Type: Stage:
Components: Tests Versions: Python 3.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords: patch

Created on 2014-03-17 23:23 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
check_time_delta.patch vstinner, 2014-03-17 23:23 review
Messages (2)
msg213914 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-03-17 23:23
Follow-up of issue #20910: add a support.check_time_delta() function an a --check-time-delta command line option for Lib/test/regrtest.py. By default, the function tolerate a difference of 500 ms for the maximum delta.

The idea is to set the --check-time-delta option on slowest buildbots to tolerate larger difference.

For example, test_time_and_call_at() of test_asyncio takes 2000 ms instead of 100 ms on the "AMD64 OpenIndiana 3.x" buildbot:
http://bugs.python.org/issue20336#msg208714
msg213917 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-03-17 23:25
I ran test_time and test_asyncio on Linux and Windows with --check-time-delta=1e-9 and the tests passed.
History
Date User Action Args
2022-04-11 14:58:00adminsetgithub: 65163
2015-10-02 21:07:03vstinnersetstatus: open -> closed
resolution: out of date
2014-03-17 23:25:06vstinnersetmessages: + msg213917
2014-03-17 23:23:14vstinnercreate