Skip to content

Increase a few IIS test timeouts #40884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Conversation

dougbu
Copy link
Contributor

@dougbu dougbu commented Mar 25, 2022

  • double all HttpClient.Timeout values
  • increate max. TimeoutAfter(...) timeout to 15 minutes (from 10)
    • double values that weren't 10 minutes
  • double TestConnection.Timeout and IISExpressDeployer.ShutdownTimeSpan
    • problems acquiring logs after shutdown seem common
  • nearly double TimeoutExtensions.DefaultTimeoutValue
  • remove [Repeat] on CheckFrebDisconnect(...) because it makes test more flaky
  • check more events in EventLogHelpers

nit: Update a couple of timeout-related comments

- double all `HttpClient.Timeout` values
- increate max. `TimeoutAfter(...)` timeout to 15 minutes (from 10)
  - double values that weren't 10 minutes
- double `TestConnection.Timeout` and `IISExpressDeployer.ShutdownTimeSpan`
  - problems acquiring logs after shutdown seem common
- nearly double `TimeoutExtensions.DefaultTimeoutValue`
- remove `[Repeat]` on `CheckFrebDisconnect(...)` because it makes test _more_ flaky
- check more events in `EventLogHelpers`

nit: Update a couple of timeout-related comments
@ghost ghost added the area-runtime label Mar 25, 2022
@dougbu
Copy link
Contributor Author

dougbu commented Mar 25, 2022

/fyi @HaoK in case you're interested while this is a work in progress. Will likely need to update some strings to match the new timeouts and get tests passing.

@HaoK
Copy link
Member

HaoK commented Mar 25, 2022

Nice @dougbu I found one place where we can hopefully eliminate some rare times that the tests fail with a 503 on start #40878

@dougbu dougbu marked this pull request as ready for review March 27, 2022 01:40
@dougbu dougbu requested a review from HaoK March 27, 2022 01:40
[ConditionalFact]
[Repeat(10)]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

General note: [Repeat] is useful when testing reliability but just makes things more flaky if checked in for a non-quarantined test.

@dougbu dougbu merged commit 0f61a3d into dotnet:main Mar 30, 2022
@dougbu dougbu deleted the dougbu/iis.timeouts branch March 30, 2022 19:59
@ghost ghost added this to the 7.0-preview3 milestone Mar 30, 2022
@dougbu dougbu modified the milestones: 7.0-preview3, 7.0-preview4 Apr 5, 2022
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants