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

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

Conversation

@vstinner

@vstinner vstinner 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

pitrou commented Jul 12, 2018

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

4 participants