Quarantine CanApplyEndpointFilterToController
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
## Failing Test(s)
- Microsoft.AspNetCore.Mvc.FunctionalTests.ControllerEndpointFiltersTest.CanApplyEndpointFilterToController
## Error Message
```text
System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
```
## Stacktrace
```text
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Microsoft.AspNetCore.Mvc.FunctionalTests.ControllerEndpointFiltersTest.CanApplyEndpointFilterToController() in /_/src/Mvc/test/Mvc.FunctionalTests/ControllerEndpointFiltersTest.cs:line 31
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
----- Inner Stack Trace -----
at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) in /_/src/Hosting/TestHost/src/ResponseBodyReaderStream.cs:line 84
at System.IO.Stream.g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
```
## Logs
```text
```
## Build
aspnetcore-ci 5/27/2024, 9:27:15 AM
Contributor guide
Research direction
Start with src/Mvc/test/Mvc.FunctionalTests/ControllerEndpointFiltersTest.cs, especially CanApplyEndpointFilterToController at line 31, and run the named functional test to reproduce the timeout. Check the repository's existing test-quarantine convention; done means this test is quarantined and the reported CI timeout no longer blocks the suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100