Skip to content

PR #10

PR #10 #70

GitHub Actions / .NET Tests failed Aug 29, 2024 in 1s

9 passed, 1 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
_fv-az1421-135_2024-08-29_05_41_50.trx 7✅ 1❌ 41s
_fv-az1421-135_2024-08-29_05_42_26.trx 2✅ 49s
_fv-az1421-135_2024-08-29_05_42_30.trx 3s

❌ _fv-az1421-135_2024-08-29_05_41_50.trx

8 tests were completed in 41s with 7 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.ResourceCreationTests 6✅ 390ms
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests 1✅ 1❌ 14s

✅ CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.ResourceCreationTests

✅ ApiResource_Can_Be_Set
✅ AppResource_Can_Be_Set
✅ Port_Will_Be_An_Arg
✅ Start_Will_Be_An_Arg
✅ TargetPort_Can_Be_Overridden
✅ TargetPort_Defaults_to_4280

❌ CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests

✅ CanAccessApiSuccessfully
❌ CanAccessFrontendSuccessfully
	System.Net.Http.HttpRequestException : Connection refused (localhost:4280)
	---- System.Net.Sockets.SocketException : Connection refused

✅ _fv-az1421-135_2024-08-29_05_42_26.trx

2 tests were completed in 49s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Java.Hosting.EndToEndTests.JavaHostingComponentTests 2✅ 36s

✅ CommunityToolkit.Aspire.Java.Hosting.EndToEndTests.JavaHostingComponentTests

✅ ResourceWillRespondWithOk(resourceName: "containerapp")
✅ ResourceWillRespondWithOk(resourceName: "executableapp")

✅ _fv-az1421-135_2024-08-29_05_42_30.trx

No tests found

Annotations

Check failure on line 19 in tests/CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests/SwaHostingComponentTests.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests ► CanAccessFrontendSuccessfully

Failed test found in:
  _fv-az1421-135_2024-08-29_05_41_50.trx
Error:
  System.Net.Http.HttpRequestException : Connection refused (localhost:4280)
  ---- System.Net.Sockets.SocketException : Connection refused
Raw output
System.Net.Http.HttpRequestException : Connection refused (localhost:4280)
---- System.Net.Sockets.SocketException : Connection refused
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Resilience.ResilienceHandler.<>c.<<SendAsync>b__3_0>d.MoveNext()
--- End of stack trace from previous location ---
   at Polly.Outcome`1.ThrowIfException()
   at Microsoft.Extensions.Http.Resilience.ResilienceHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests.CanAccessFrontendSuccessfully() in /home/runner/work/Aspire/Aspire/tests/CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests/SwaHostingComponentTests.cs:line 19
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)