Skip to content
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

Failing Aspire.Hosting tests on Windows for PR validation #7923

Open
Tracked by #7922
radical opened this issue Mar 6, 2025 · 1 comment
Open
Tracked by #7922

Failing Aspire.Hosting tests on Windows for PR validation #7923

radical opened this issue Mar 6, 2025 · 1 comment

Comments

@radical
Copy link
Member

radical commented Mar 6, 2025

Tests failing on windows for PR validation when they were enabled in #7909. Full log:

TestPortOnEndpointAnnotationAndAllocatedEndpointAnnotationMatch

System.Threading.Tasks.TaskCanceledException : A task was canceled.
   at Aspire.Hosting.Tests.SlimTestProgramFixture.WaitReadyStateAsync(CancellationToken cancellationToken) in /_/tests/Aspire.Hosting.Tests/TestProgramFixture.cs:line 68
   at Aspire.Hosting.Tests.TestProgramFixture.InitializeAsync() in /_/tests/Aspire.Hosting.Tests/TestProgramFixture.cs:line 37

TestPortOnEndpointAnnotationAndAllocatedEndpointAnnotationMatchForReplicatedServices

System.Threading.Tasks.TaskCanceledException : A task was canceled.
   at Aspire.Hosting.Tests.SlimTestProgramFixture.WaitReadyStateAsync(CancellationToken cancellationToken) in /_/tests/Aspire.Hosting.Tests/TestProgramFixture.cs:line 68
   at Aspire.Hosting.Tests.TestProgramFixture.InitializeAsync() in /_/tests/Aspire.Hosting.Tests/TestProgramFixture.cs:line 37

TestProjectStartsAndStopsCleanly

System.Threading.Tasks.TaskCanceledException : A task was canceled.
   at Aspire.Hosting.Tests.SlimTestProgramFixture.WaitReadyStateAsync(CancellationToken cancellationToken) in /_/tests/Aspire.Hosting.Tests/TestProgramFixture.cs:line 68
   at Aspire.Hosting.Tests.TestProgramFixture.InitializeAsync() in /_/tests/Aspire.Hosting.Tests/TestProgramFixture.cs:line 37

cc @joperezr @mitchdenny

@eerhardt
Copy link
Member

eerhardt commented Mar 6, 2025

These tests try to create and run a DistributedApplication. There is no docker on GitHub Windows, correct? I wouldn't expect this to work.

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

No branches or pull requests

2 participants