Skip to content

bpo-33723: Remove time.thread_time() functional tests #8265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

bpo-33723: Remove time.thread_time() functional tests #8265

wants to merge 1 commit into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 12, 2018

These functional tests were too fragile: we already tolerate to only
get a delta of 20 ms whereas the test runs a busy loop during 100 ms.
The test failed on a buildbot because the delta was only 19 ms.
Reducing the minimum delta would make the test meaningless, so remove
it instead.

https://bugs.python.org/issue33723

These functional tests were too fragile: we already tolerate to only
get a delta of 20 ms whereas the test runs a busy loop during 100 ms.
The test failed on a buildbot because the delta was only 19 ms.
Reducing the minimum delta would make the test meaningless, so remove
it instead.
@pitrou
Copy link
Member

pitrou commented Jul 12, 2018

Pity :-( Perhaps we should have a requirement that buildbots do not get deployed on overloaded machines? This kind of test is useful.

@vstinner
Copy link
Member Author

@pitrou: if you prefer to keep the test, I propose PR #8267 to reduce the minimum time from 20 ms to 15 ms.

@vstinner
Copy link
Member Author

I merged the PR 8267.

@vstinner vstinner closed this Jul 12, 2018
@vstinner vstinner deleted the test_thread_time branch July 12, 2018 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants