Skip to content

Use a longer sleep in test_run::test_timekeeping#1173

Merged
oremanj merged 1 commit into
python-trio:masterfrom
njsmith:longer-sleep
Aug 2, 2019
Merged

Use a longer sleep in test_run::test_timekeeping#1173
oremanj merged 1 commit into
python-trio:masterfrom
njsmith:longer-sleep

Conversation

@njsmith

@njsmith njsmith commented Aug 2, 2019

Copy link
Copy Markdown
Member

This test has been the source of a few intermittent failures recently:

#200 (comment)

Not really clear if this will solve the problem, but it's worth a try.

This test has been the source of a few intermittent failures recently:

  python-trio#200 (comment)

Not really clear if this will solve the problem, but it's worth a try.
@njsmith

njsmith commented Aug 2, 2019

Copy link
Copy Markdown
Member Author

Test failure should be fixed by #1172

@njsmith njsmith closed this Aug 2, 2019
@njsmith njsmith reopened this Aug 2, 2019
@codecov

codecov Bot commented Aug 2, 2019

Copy link
Copy Markdown

Codecov Report

Merging #1173 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1173   +/-   ##
=======================================
  Coverage   99.55%   99.55%           
=======================================
  Files         106      106           
  Lines       12751    12751           
  Branches      978      978           
=======================================
  Hits        12694    12694           
  Misses         36       36           
  Partials       21       21
Impacted Files Coverage Δ
trio/_core/tests/test_run.py 100% <100%> (ø) ⬆️

1 similar comment
@codecov

codecov Bot commented Aug 2, 2019

Copy link
Copy Markdown

Codecov Report

Merging #1173 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1173   +/-   ##
=======================================
  Coverage   99.55%   99.55%           
=======================================
  Files         106      106           
  Lines       12751    12751           
  Branches      978      978           
=======================================
  Hits        12694    12694           
  Misses         36       36           
  Partials       21       21
Impacted Files Coverage Δ
trio/_core/tests/test_run.py 100% <100%> (ø) ⬆️

@oremanj oremanj merged commit 5fa6d13 into python-trio:master Aug 2, 2019

@belm0 belm0 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.

I think it's futile to have wall clock dependent tests running on free virtualized computers.

Perhaps just change the test to >=, and rely on precise mocking to confirm that cancel scope honors deadline correctly (likely already covered).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants