Skip to content

Conversation

@wfurt
Copy link
Member

@wfurt wfurt commented Nov 12, 2020

This increase timeout used in the Timeout_SetTenMillisecondsOnLoopback_ThrowsWebException test to be two of times quantum on Windows7. Since used time was shorter than precision of system timers, this test was not reliable.

fixes #44494

@wfurt wfurt requested a review from a team November 12, 2020 22:02
@wfurt wfurt self-assigned this Nov 12, 2020
@ghost
Copy link

ghost commented Nov 12, 2020

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Details


Issue meta data
Issue content:
This increase timeout used in the Timeout_SetTenMillisecondsOnLoopback_ThrowsWebException test to be two of times quantum on Windows7. Since used time was shorter than precision of system timers, this test was not reliable. 

fixes #44494

</td>
Issue author: wfurt
Assignees: wfurt
Labels:
`area-System.Net`

</td>
Milestone: -

@stephentoub
Copy link
Member

This change is fine, and it's great if it helps to eliminate instability in CI. However, even with a really small timeout specified, I don't see why the test should be failing. I'm skeptical there might be something else going on.

@wfurt
Copy link
Member Author

wfurt commented Nov 12, 2020

ok, I can watch that. It fails pretty much only on Windows 7 and the test times out very quickly e.g. much sooner than the timeout value.

@stephentoub stephentoub merged commit 21dc074 into dotnet:master Nov 13, 2020
@wfurt
Copy link
Member Author

wfurt commented Nov 17, 2020

I don't know if we had enough runs but so far there is no failure.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2020
@karelz karelz added this to the 6.0.0 milestone Jan 26, 2021
@wfurt wfurt deleted the timeout_44494 branch January 7, 2026 20:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeout_SetTenMillisecondsOnLoopback_ThrowsWebException is sometimes failing with Assert.InRange() Failure

3 participants