Skip to content

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

Closed
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:test_thread_time
Closed

bpo-33723: Remove time.thread_time() functional tests#8265
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:test_thread_time

Conversation

@vstinner

@vstinnervstinner commented Jul 12, 2018

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

@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
Copy Markdown
MemberAuthor

I merged the PR 8267.

@vstinner
vstinner deleted the test_thread_time branch July 12, 2018 13:33
Sign up for freeto 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

@vstinner@pitrou@the-knights-who-say-ni@bedevere-bot