Skip to content

[3.7] bpo-33723: Fix test_time.test_thread_time() (GH-8267) - #8268

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-d6345de-3.7
Jul 12, 2018
Merged

miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-d6345de-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 12, 2018 •

Copy link
Copy Markdown
Contributor

The test failed on AMD64 Debian root 3.x buildbot because the busy
loop of 100 ms only increased time.thread_time() by 19.9 ms which is
smaller than 20 ms. Modify the test to tolerate a delta of at least
15 ms instead of 20 ms.
(cherry picked from commit d6345de)

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue33723

The test failed on AMD64 Debian root 3.x buildbot because the busy
loop of 100 ms only increased time.thread_time() by 19.9 ms which is
smaller than 20 ms. Modify the test to tolerate a delta of at least
15 ms instead of 20 ms.
(cherry picked from commit d6345de)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Backport status check is done, and it's a success ✅ .

@miss-islington
miss-islington merged commit 4ada0cf into python:3.7 Jul 12, 2018
@miss-islington
miss-islington deleted the backport-d6345de-3.7 branch July 12, 2018 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants