Skip to content

[test-quarantine] Quarantine RealServerUsingMinimalBackedIntegrationTests.CanResolveServices - #67341

Merged
wtgodbe merged 2 commits into
mainfrom
test-quarantine/case-a-resolveservices-4fa9f846a655e763
Jun 21, 2026
Merged

wtgodbe merged 2 commits into
mainfrom
test-quarantine/case-a-resolveservices-4fa9f846a655e763

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Quarantine RealServerUsingMinimalBackedIntegrationTests.CanResolveServices which is failing intermittently with:

System.InvalidOperationException: IServerAddressesFeature.Addresses cannot be modified after the server has started.

The failure originates in WebApplicationFactory<T>.TryConfigureServerPort and appears to be a timing/ordering issue when using a real Kestrel server in tests.

Failures observed in:

Associated issue: #67340

Generated by Daily Test Quarantine Management · 5.7K AIC · ⌖ 52 AIC · ⊞ 25.6K · ◷

…vices

Test is failing intermittently with:
System.InvalidOperationException: IServerAddressesFeature.Addresses cannot
be modified after the server has started.

Failures observed in builds: 1474174, 1456305, 1433612

Co-authored-by: Copilot <[email protected]>
@github-actions
github-actions Bot requested a review from a team as a code owner June 21, 2026 12:43
@wtgodbe

wtgodbe commented Jun 21, 2026

Copy link
Copy Markdown
Member

@copilot fix this - a using is needed:

/mnt/vss/_work/1/s/src/Mvc/test/Mvc.FunctionalTests/RealServerUsingMinimalBackedIntegrationTests.cs(53,6): error CS0246: The type or namespace name 'QuarantinedTestAttribute' could not be found (are you missing a using directive or an assembly reference?) [/mnt/vss/_work/1/s/src/Mvc/test/Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj]

Copilot AI commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

@copilot fix this - a using is needed:

/mnt/vss/_work/1/s/src/Mvc/test/Mvc.FunctionalTests/RealServerUsingMinimalBackedIntegrationTests.cs(53,6): error CS0246: The type or namespace name 'Quarant...

Fixed in the latest commit — added using Microsoft.AspNetCore.InternalTesting; to resolve the CS0246 error.

Copilot AI requested a review from wtgodbe June 21, 2026 13:25
@wtgodbe
wtgodbe merged commit 71f1f6b into main Jun 21, 2026
4 of 24 checks passed
@wtgodbe
wtgodbe deleted the test-quarantine/case-a-resolveservices-4fa9f846a655e763 branch June 21, 2026 13:26
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview6 milestone Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants