Skip to content

Added architecture tests for horizontal layers and vertical slices. #10 #179

Added architecture tests for horizontal layers and vertical slices. #10

Added architecture tests for horizontal layers and vertical slices. #10 #179

GitHub Actions / All Tests succeeded Mar 20, 2024 in 1s

All Tests ✅

Tests failed

Report Passed Failed Skipped Time
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_31.trx 298✅ 3s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_32.trx 200✅ 5s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_33.trx 5s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_34.trx 5s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_35.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_37.trx 35✅ 3s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_37[1].trx 87✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_39.trx 227✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_42.trx 17✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_42[1].trx 22✅ 8s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_43.trx 34✅ 3s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_44.trx 48✅ 6s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_47.trx 17✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_47[1].trx 127✅ 4s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_48.trx 22✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_50.trx 80✅ 5s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_51.trx 8✅ 3s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_51[1].trx 10✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_52.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_54.trx 44✅ 3s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_54[1].trx 135✅ 4s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_55.trx 11✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_58.trx 19✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_58[1].trx 8✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_58[2].trx 72✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_59.trx 6s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_01.trx 27✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_01[1].trx 22✅ 3s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_02.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_04.trx 25✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_05.trx 32✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_05[1].trx 273✅ 2⚪ 13s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_07.trx 58✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_07[1].trx 6s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_11.trx 4s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_12.trx 40✅ 5s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_14.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_15.trx 37✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_15[1].trx 53✅ 7s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_16.trx 98✅ 16s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_18.trx 6✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_19.trx 38✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_21.trx 13✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_21[1].trx 4✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_21[2].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_23.trx 1✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_23[1].trx 1✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_24.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_25.trx 19✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_26.trx 8✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_26[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_28.trx 2✅ 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_28[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_28[2].trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_43.trx 6✅ 14s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_48.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_48[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_48[2].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_52.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_52[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_54.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_55.trx 55✅ 51s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_56.trx 7✅ 15s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_57.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_57[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_00.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_00[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_02.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_03.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_05.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_06.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_06[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_08.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_09.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_10.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_12.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_12[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_14.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_14[1].trx 3✅ 11s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_15.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_17.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_18.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_20.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_21.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_23.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_23[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_25.trx 18✅ 20s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_26.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_26[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_29.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_33.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx 1✅ 35❌ 148s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_40.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_40[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_40[2].trx 15✅ 16s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_42.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_43.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_44.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_46.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_49.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_51.trx 1✅ 6s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_51[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_52.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_53.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_54.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_55.trx 2s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_57.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_58.trx 3s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_59.trx 1s
src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_59[1].trx 2✅ 7s

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_31.trx

298 tests were completed in 3s with 298 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Common.UnitTests.CountryCodesSpec 12✅ 67ms
Common.UnitTests.ErrorSpec 6✅ 1ms
Common.UnitTests.Extensions.CollectionExtensionsSpec 3✅ 1ms
Common.UnitTests.Extensions.DateTimeExtensionsSpec 44✅ 32ms
Common.UnitTests.Extensions.DictionaryExtensionsSpec 12✅ 40ms
Common.UnitTests.Extensions.EnumExtensionsSpec 10✅ 60ms
Common.UnitTests.Extensions.ObjectExtensionsSpec 16✅ 202ms
Common.UnitTests.Extensions.StringExtensionsSpec 66✅ 85ms
Common.UnitTests.Extensions.TimeSpanExtensionsSpec 7✅ 4ms
Common.UnitTests.OptionalOfTSpec 50✅ 78ms
Common.UnitTests.OptionalSpec 16✅ 21ms
Common.UnitTests.Recording.RecordingExtensionsSpec 2✅ 332ms
Common.UnitTests.ReflectorSpec 3✅ 5ms
Common.UnitTests.ResultSpec+ResultWithoutValueSpec 14✅ 7ms
Common.UnitTests.ResultSpec+ResultWithValueSpec 31✅ 167ms
Common.UnitTests.TimezonesSpec 6✅ 267ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_32.trx

200 tests were completed in 5s with 200 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenAPolicy 5✅ 492ms
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenPlatformAuthorization 9✅ 197ms
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenRolesAndFeatures 8✅ 287ms
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenTenantAuthorization 7✅ 22ms
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ApiUsageFilterSpec 5✅ 426ms
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ContentNegotiationFilterSpec 26✅ 1s
Infrastructure.Web.Api.Common.UnitTests.Endpoints.MultiTenancyFilterSpec 6✅ 80ms
Infrastructure.Web.Api.Common.UnitTests.Endpoints.RequestCorrelationFilterSpec 3✅ 117ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasGetOptionsExtensionsSpec 6✅ 4ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasSearchOptionsExtensionsSpec 9✅ 46ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpRequestExtensionsSpec 36✅ 230ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpResponseExtensionsSpec 3✅ 123ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.RequestExtensionsSpec 15✅ 388ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec 5✅ 289ms
Infrastructure.Web.Api.Common.UnitTests.HasGetOptionsSpec 4✅ 10ms
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenARequest 5✅ 2ms
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenASigner 3✅ 15ms
Infrastructure.Web.Api.Common.UnitTests.JsonDateTimeConverterSpec 6✅ 10ms
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenAnUntenantedRequestDto 6✅ 503ms
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenATenantedRequestDto 1✅ 250ms
Infrastructure.Web.Api.Common.UnitTests.Validation.AdditionalValidatorSpec 5✅ 181ms
Infrastructure.Web.Api.Common.UnitTests.Validation.HasGetOptionsValidatorSpec 10✅ 17ms
Infrastructure.Web.Api.Common.UnitTests.Validation.HasSearchOptionsValidatorSpec 15✅ 52ms
Infrastructure.Web.Api.Common.UnitTests.ValidationBehaviorSpec 2✅ 31ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_33.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_34.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_35.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_37.trx

35 tests were completed in 3s with 35 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CarsInfrastructure.UnitTests.Api.Cars.DeleteCarRequestValidatorSpec 1✅ 2ms
CarsInfrastructure.UnitTests.Api.Cars.GetCarRequestValidatorSpec 1✅ 516ms
CarsInfrastructure.UnitTests.Api.Cars.RegisterCarRequestValidatorSpec 9✅ 553ms
CarsInfrastructure.UnitTests.Api.Cars.ReleaseCarAvailabilityRequestValidatorSpec 4✅ 7ms
CarsInfrastructure.UnitTests.Api.Cars.ReserveCarIfAvailableRequestValidatorSpec 6✅ 559ms
CarsInfrastructure.UnitTests.Api.Cars.ScheduleMaintenanceCarRequestValidatorSpec 4✅ 9ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllAvailableCarsRequestValidatorSpec 4✅ 12ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllCarsRequestValidatorSpec 1✅ 4ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllUnavailabilitiesRequestValidatorSpec 1✅ 42ms
CarsInfrastructure.UnitTests.Api.Cars.TakeOfflineCarRequestValidatorSpec 4✅ 577ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_37[1].trx

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

Test suite Passed Failed Skipped Time
Domain.Interfaces.UnitTests.Authorization.FeatureLevelSpec 14✅ 3ms
Domain.Interfaces.UnitTests.Authorization.PlatformFeaturesSpec 1✅ 47ms
Domain.Interfaces.UnitTests.Authorization.PlatformRolesSpec 2✅ 1ms
Domain.Interfaces.UnitTests.Authorization.RoleLevelSpec 14✅ 51ms
Domain.Interfaces.UnitTests.Authorization.TenantFeaturesSpec 1✅ 46ms
Domain.Interfaces.UnitTests.Authorization.TenantRolesSpec 2✅ 4ms
Domain.Interfaces.UnitTests.HydrationPropertiesSpec 13✅ 207ms
Domain.Interfaces.UnitTests.Validations.ValidationsSpec 40✅ 12ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_39.trx

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

Test suite Passed Failed Skipped Time
Domain.Common.UnitTests.ChangeEventTypeMigratorSpec 4✅ 176ms
Domain.Common.UnitTests.Entities.AggregateRootBaseSpec 17✅ 238ms
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec 4✅ 12ms
Domain.Common.UnitTests.Entities.EntityBaseSpec 4✅ 220ms
Domain.Common.UnitTests.Entities.EventSourcedChangeEventExtensionsSpec 1✅ 107ms
Domain.Common.UnitTests.Extensions.HydrationPropertiesExtensionsSpec 6✅ 8ms
Domain.Common.UnitTests.Identity.NamePrefixedIdentifierFactorySpec 11✅ 7ms
Domain.Common.UnitTests.MessageQueueIdFactorySpec 8✅ 123ms
Domain.Common.UnitTests.ValueObjects.EventStreamSpec 12✅ 5ms
Domain.Common.UnitTests.ValueObjects.IdentifierExtensionsSpec 4✅ 4ms
Domain.Common.UnitTests.ValueObjects.IdentifierSpec 1✅ 199ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectComparableSpec 40✅ 5ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectEqualitySpec 22✅ 59ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectSpec 2✅ 1ms
Domain.Common.UnitTests.ValueObjects.ValueObjectComparableSpec 23✅ 122ms
Domain.Common.UnitTests.ValueObjects.ValueObjectEqualitySpec 44✅ 21ms
Domain.Common.UnitTests.ValueObjects.ValueObjectExtensionsSpec 2✅ 1ms
Domain.Common.UnitTests.ValueObjects.ValueObjectSpec 22✅ 125ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_42.trx

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

Test suite Passed Failed Skipped Time
Application.Common.UnitTests.CallerSpec 8✅ 114ms
Application.Common.UnitTests.Extensions.CallerContextExtensionsSpec 3✅ 118ms
Application.Common.UnitTests.Extensions.FeatureFlagExtensionsSpec 6✅ 166ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_42[1].trx

22 tests were completed in 8s with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Application.Interfaces.UnitTests.GetOptionsExtensionsSpec 6✅ 300ms
Application.Interfaces.UnitTests.SearchOptionsExtensionsSpec 5✅ 71ms
Application.Interfaces.UnitTests.SearchOptionsSpec 11✅ 2s

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_43.trx

34 tests were completed in 3s with 34 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tools.Generators.Web.Api.UnitTests.MinimalApiMediatRGeneratorSpec+GivenAServiceClass 12✅ 1s
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAnyClass 10✅ 848ms
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass 8✅ 898ms
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass+GivenAServiceOperation 4✅ 978ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_44.trx

48 tests were completed in 6s with 48 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRule001 34✅ 5s
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRule002 14✅ 4s

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_47.trx

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

Test suite Passed Failed Skipped Time
CarsApplication.UnitTests.CarsApplicationSpec 17✅ 411ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_47[1].trx

127 tests were completed in 4s with 127 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Hosting.Common.UnitTests.AnonymousCallerContextSpec 2✅ 16ms
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenEncryptedSettings 1✅ 2ms
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenNoEncryptedSettings 1✅ 41ms
Infrastructure.Web.Hosting.Common.UnitTests.AspNetCallerContextSpec 23✅ 84ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.APIKeyAuthenticationHandlerSpec 5✅ 675ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.HMACAuthenticationHandlerSpec 5✅ 132ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationHandlerSpec 11✅ 24ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationPolicyProviderSpec 2✅ 26ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFMiddlewareSpec 15✅ 390ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFServiceSpec 10✅ 495ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFTokenPairSpec 22✅ 15ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAnonymousUser 5✅ 129ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAuthenticatedUser 7✅ 680ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnyCaller 5✅ 560ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.ReverseProxyMiddlewareSpec 3✅ 140ms
Infrastructure.Web.Hosting.Common.UnitTests.SubDomainModulesSpec 10✅ 2s

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_48.trx

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

Test suite Passed Failed Skipped Time
BookingsDomain.UnitTests.BookingRootSpec 9✅ 160ms
BookingsDomain.UnitTests.LocationSpec 2✅ 98ms
BookingsDomain.UnitTests.TripEntitySpec 8✅ 142ms
BookingsDomain.UnitTests.TripsSpec 3✅ 128ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_50.trx

80 tests were completed in 5s with 80 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CarsDomain.UnitTests.CarRootSpec 35✅ 868ms
CarsDomain.UnitTests.CausedBySpec 4✅ 649ms
CarsDomain.UnitTests.JurisdictionSpec 3✅ 680ms
CarsDomain.UnitTests.LicensePlateSpec 3✅ 105ms
CarsDomain.UnitTests.ManufacturerSpec 3✅ 444ms
CarsDomain.UnitTests.NumberPlateSpec 3✅ 1ms
CarsDomain.UnitTests.TimeSlotSpec 4✅ 682ms
CarsDomain.UnitTests.UnavailabilityEntitySpec 13✅ 621ms
CarsDomain.UnitTests.VehicleManagersSpec 6✅ 668ms
CarsDomain.UnitTests.VehicleOwnerSpec 2✅ 1ms
CarsDomain.UnitTests.YearSpec 4✅ 180ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_51.trx

8 tests were completed in 3s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BookingsApplication.UnitTests.BookingsApplicationSpec 8✅ 278ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_51[1].trx

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

Test suite Passed Failed Skipped Time
BookingsInfrastructure.UnitTests.Api.Bookings.CancelBookingRequestValidatorSpec 1✅ 195ms
BookingsInfrastructure.UnitTests.Api.Bookings.MakeBookingRequestValidatorSpec 5✅ 269ms
BookingsInfrastructure.UnitTests.Api.Bookings.SearchAllBookingsRequestValidatorSpec 4✅ 259ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_52.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_54.trx

44 tests were completed in 3s with 44 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Persistence.Interfaces.UnitTests.CommandEntitySpec 22✅ 361ms
Infrastructure.Persistence.Interfaces.UnitTests.PersistedEntityMetadataSpec 12✅ 131ms
Infrastructure.Persistence.Interfaces.UnitTests.QueryEntitySpec 10✅ 273ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_54[1].trx

135 tests were completed in 4s with 135 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Persistence.Common.UnitTests.BlobStoreSpec 9✅ 20ms
Infrastructure.Persistence.Common.UnitTests.EventSourcingDddCommandStoreSpec 7✅ 440ms
Infrastructure.Persistence.Common.UnitTests.Extensions.DynamicLinqWhereExtensionsSpec 3✅ 15ms
Infrastructure.Persistence.Common.UnitTests.Extensions.EventNotifyingStoreExtensionsSpec 4✅ 397ms
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec 6✅ 2ms
Infrastructure.Persistence.Common.UnitTests.Extensions.StoreExtensionsSpec 21✅ 1s
Infrastructure.Persistence.Common.UnitTests.Extensions.TypeExtensionsSpec 15✅ 17ms
Infrastructure.Persistence.Common.UnitTests.MessageQueueStoreSpec 5✅ 104ms
Infrastructure.Persistence.Common.UnitTests.ReadModelProjectionStoreSpec 9✅ 43ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingDddCommandStoreSpec 20✅ 166ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingQueryStoreSpec 12✅ 52ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingStoreSpec 24✅ 609ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_55.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Common.UnitTests.DomainFactorySpec 9✅ 217ms
Infrastructure.Common.UnitTests.DomainServices.AesEncryptionServiceSpec 2✅ 92ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_58.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Eventing.Common.UnitTests.Notifications.EventNotificationNotifierSpec 7✅ 291ms
Infrastructure.Eventing.Common.UnitTests.Projections.ProjectionCheckpointRepositorySpec 4✅ 331ms
Infrastructure.Eventing.Common.UnitTests.Projections.ReadModelProjectorSpec 8✅ 299ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_58[1].trx

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

Test suite Passed Failed Skipped Time
Application.Persistence.Common.UnitTests.QueryAnyExtensionsSpec 8✅ 103ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_58[2].trx

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

Test suite Passed Failed Skipped Time
Domain.Shared.UnitTests.EmailAddressSpec 10✅ 68ms
Domain.Shared.UnitTests.FeatureSpec 4✅ 23ms
Domain.Shared.UnitTests.FeaturesSpec 23✅ 26ms
Domain.Shared.UnitTests.NameSpec 2✅ 0ms
Domain.Shared.UnitTests.PersonDisplayNameSpec 2✅ 63ms
Domain.Shared.UnitTests.PersonNameSpec 4✅ 64ms
Domain.Shared.UnitTests.RoleSpec 4✅ 1ms
Domain.Shared.UnitTests.RolesSpec 23✅ 86ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_19_59.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_01.trx

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

Test suite Passed Failed Skipped Time
AncillaryApplication.UnitTests.AncillaryApplicationSpec 24✅ 627ms
AncillaryApplication.UnitTests.FeatureFlagsApplicationSpec 3✅ 381ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_01[1].trx

22 tests were completed in 3s with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AncillaryInfrastructure.UnitTests.Api.Audits.DeliverAuditRequestValidatorSpec 2✅ 3ms
AncillaryInfrastructure.UnitTests.Api.Emails.DeliverEmailRequestValidatorSpec 2✅ 475ms
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec 2✅ 472ms
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagRequestValidatorSpec 6✅ 509ms
AncillaryInfrastructure.UnitTests.Api.Provisionings.NotifyProvisioningRequestValidatorSpec 2✅ 4ms
AncillaryInfrastructure.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec 3✅ 479ms
AncillaryInfrastructure.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec 3✅ 4ms
AncillaryInfrastructure.UnitTests.Api.Usages.DeliverUsageRequestValidatorSpec 2✅ 4ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_02.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_04.trx

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

Test suite Passed Failed Skipped Time
AncillaryDomain.UnitTests.AuditRootSpec 1✅ 338ms
AncillaryDomain.UnitTests.DeliveryAttemptsSpec 6✅ 257ms
AncillaryDomain.UnitTests.EmailDeliverRootSpec 12✅ 89ms
AncillaryDomain.UnitTests.EmailRecipientSpec 2✅ 244ms
AncillaryDomain.UnitTests.QueuedMessageIdSpec 3✅ 14ms
AncillaryDomain.UnitTests.TemplateArgumentsSpec 1✅ 226ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_05.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenAnUntypedResponse 8✅ 202ms
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenATypedResponse 7✅ 207ms
Infrastructure.Web.Common.UnitTests.Extensions.ResponseProblemExtensionsSpec 17✅ 188ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_05[1].trx

275 tests were completed in 13s with 273 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule030 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule031 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule032 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule033 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule034 3✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule035 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule036 2✅ 9s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule040 1✅ 9s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule041 1✅ 11s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule042 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule043 3✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule044 1✅ 10s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule045 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenAnyRule 5✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule010 18✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule011And012 6✅ 9s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule013AndRule017 3✅ 9s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule014 4✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule015 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule016 35✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule018AndRule019 4✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel 1✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 3✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 3✅ 10s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025 12✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenAnyResource 1✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule010 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 3✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule012 1✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule013 2✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule014 22✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenAnyDomainEvent 1✅ 1s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule040 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule041 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 3✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 2✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule044 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule045 1✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule046 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule047 18✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule048 2✅ 10s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule049 8✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule020 3✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule021 4✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule022 2✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule023 2✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule024 2✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule025 2✅ 11s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule026 4✅ 9s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule027 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnyRule 4✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule010 3✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule011 4✅ 9s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule012 2✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule013 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule014 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule015 2✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule016 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule017 4✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule018 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule030 3✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule031 4✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule032 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule033 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule034 4✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule035 6✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule036 2✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule020 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule023 1✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule025 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule027 1✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule010 1✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule014 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule015 1✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule016 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule018 1✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule030 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule033 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule035 2⚪ 2ms
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule036 1✅ 3s

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_07.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenOnlyPlatformConfiguration 10✅ 159ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenTenancyAndNoPlatformConfiguration 10✅ 279ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenTenancyAndPlatformConfiguration 10✅ 191ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.EventHandlerBaseSpec 4✅ 180ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Notifications.InProcessSynchronousNotificationRelaySpec 2✅ 367ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Projections.InProcessSynchronousProjectionRelaySpec 2✅ 74ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.HostSettingsSpec 6✅ 15ms
Infrastructure.Hosting.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec 7✅ 44ms
Infrastructure.Hosting.Common.UnitTests.Recording.HostRecorderSpec 7✅ 141ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_07[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_11.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_12.trx

40 tests were completed in 5s with 40 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec+GivenAnotherProvider 7✅ 4ms
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec+GivenCredentialsProvider 6✅ 160ms
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticationApiSpec 4✅ 136ms
Infrastructure.Web.Website.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec 2✅ 136ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordCrashRequestValidatorSpec 2✅ 3ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec 3✅ 145ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordPageViewRequestValidatorSpec 2✅ 3ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordTraceRequestValidatorSpec 4✅ 17ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec 3✅ 4ms
Infrastructure.Web.Website.UnitTests.Application.AuthenticationApplicationSpec 5✅ 242ms
Infrastructure.Web.Website.UnitTests.Application.FeatureFlagsApplicationSpec 2✅ 80ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_14.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_15.trx

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

Test suite Passed Failed Skipped Time
IdentityApplication.UnitTests.APIKeysApplicationSpec 6✅ 295ms
IdentityApplication.UnitTests.AuthTokensApplicationSpec 6✅ 45ms
IdentityApplication.UnitTests.MachineCredentialsApplicationSpec 1✅ 240ms
IdentityApplication.UnitTests.PasswordCredentialsApplicationSpec 12✅ 129ms
IdentityApplication.UnitTests.SingleSignOnApplicationSpec 6✅ 305ms
IdentityApplication.UnitTests.SSOProvidersServiceSpec+GivenAuthProviders 4✅ 248ms
IdentityApplication.UnitTests.SSOProvidersServiceSpec+GivenNoAuthProviders 2✅ 247ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_15[1].trx

53 tests were completed in 7s with 53 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IdentityInfrastructure.UnitTests.Api.AuthTokens.RefreshTokenRequestValidatorSpec 2✅ 3ms
IdentityInfrastructure.UnitTests.Api.AuthTokens.RevokeRefreshTokenRequestValidatorSpec 2✅ 182ms
IdentityInfrastructure.UnitTests.Api.MachineCredentials.RegisterMachineRequestValidatorSpec 9✅ 1s
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticatePasswordRequestValidatorSpec 4✅ 695ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticateSingleSignOnRequestValidatorSpec 6✅ 7ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.ConfirmPersonRegistrationRequestValidatorSpec 3✅ 5ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.RegisterPersonRequestValidatorSpec 13✅ 362ms
IdentityInfrastructure.UnitTests.ApplicationServices.FakeSSOAuthenticationProviderSpec 3✅ 47ms
IdentityInfrastructure.UnitTests.ApplicationServices.JWTTokensServiceSpec 1✅ 878ms
IdentityInfrastructure.UnitTests.DomainServices.EmailAddressServiceSpec 3✅ 1s
IdentityInfrastructure.UnitTests.DomainServices.PasswordHasherServiceSpec 7✅ 3s

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_16.trx

98 tests were completed in 16s with 98 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IdentityDomain.UnitTests.APIKeyKeepSpec 11✅ 10ms
IdentityDomain.UnitTests.APIKeyRootSpec 9✅ 242ms
IdentityDomain.UnitTests.AuthTokensRootSpec 9✅ 9ms
IdentityDomain.UnitTests.LoginMonitorSpec 14✅ 14s
IdentityDomain.UnitTests.PasswordCredentialRootSpec 25✅ 107ms
IdentityDomain.UnitTests.PasswordKeepSpec 23✅ 213ms
IdentityDomain.UnitTests.SSOAuthTokenSpec 2✅ 97ms
IdentityDomain.UnitTests.SSOUserRootSpec 2✅ 223ms
IdentityDomain.UnitTests.VerificationSpec 3✅ 96ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_18.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Shared.UnitTests.DomainServices.TokensServiceSpec 6✅ 60ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_19.trx

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

Test suite Passed Failed Skipped Time
EndUsersDomain.UnitTests.EndUserRootSpec 22✅ 202ms
EndUsersDomain.UnitTests.MembershipSpec 5✅ 162ms
EndUsersDomain.UnitTests.MembershipsSpec 11✅ 162ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_21.trx

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

Test suite Passed Failed Skipped Time
EndUsersApplication.UnitTests.EndUsersApplicationSpec 13✅ 567ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_21[1].trx

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

Test suite Passed Failed Skipped Time
EndUsersInfrastructure.UnitTests.Api.EndUsers.AssignPlatformRolesRequestValidatorSpec 4✅ 187ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_21[2].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_23.trx

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

Test suite Passed Failed Skipped Time
Tools.Generators.Web.Api.Authorization.UnitTests.AuthorizationAttributeGeneratorSpec+GivenAuthorizationClasses 1✅ 630ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_23[1].trx

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

Test suite Passed Failed Skipped Time
Tools.Generators.Common.UnitTests.FeatureFlagGeneratorSpec+GivenFeatureFlagsResources 1✅ 320ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_24.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_25.trx

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

Test suite Passed Failed Skipped Time
OrganizationsDomain.UnitTests.DisplayNameSpec 2✅ 69ms
OrganizationsDomain.UnitTests.OrganizationRootSpec 3✅ 150ms
OrganizationsDomain.UnitTests.SettingSpec 10✅ 144ms
OrganizationsDomain.UnitTests.SettingsSpec 4✅ 76ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_26.trx

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

Test suite Passed Failed Skipped Time
OrganizationsApplication.UnitTests.OrganizationsApplicationSpec 8✅ 359ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_26[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_28.trx

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

Test suite Passed Failed Skipped Time
OrganizationsInfrastructure.UnitTests.Api.Organizations.CreateOrganizationRequestValidatorSpec 2✅ 139ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_28[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_28[2].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_43.trx

6 tests were completed in 14s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ApiHost1.ArchitectureTests.HorizontalLayersSpec 3✅ 236ms
ApiHost1.ArchitectureTests.VerticalSlicesSpec 3✅ 192ms

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_48.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_48[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_48[2].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_52.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_52[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_54.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_55.trx

55 tests were completed in 51s with 55 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Api.IntegrationTests.AuthNApiSpec 8✅ 13s
Infrastructure.Web.Api.IntegrationTests.AuthZApiSpec 12✅ 5s
Infrastructure.Web.Api.IntegrationTests.ContentNegotiationApiSpec 8✅ 546ms
Infrastructure.Web.Api.IntegrationTests.DataFormatsApiSpec 5✅ 707ms
Infrastructure.Web.Api.IntegrationTests.DefaultStatusCodeApiSpec 7✅ 1s
Infrastructure.Web.Api.IntegrationTests.ErrorApiSpec 2✅ 607ms
Infrastructure.Web.Api.IntegrationTests.HealthCheckApiSpec 1✅ 722ms
Infrastructure.Web.Api.IntegrationTests.MultiTenancySpec 3✅ 19s
Infrastructure.Web.Api.IntegrationTests.RequestCorrelationApiSpec+GivenAJsonClient 1✅ 298ms
Infrastructure.Web.Api.IntegrationTests.RequestCorrelationApiSpec+GivenAnHttpClient 4✅ 816ms
Infrastructure.Web.Api.IntegrationTests.ValidationApiSpec 4✅ 1s

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_56.trx

7 tests were completed in 15s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CarsInfrastructure.IntegrationTests.CarsApiSpec 7✅ 13s

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_57.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_20_57[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_00.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_00[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_02.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_03.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_05.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_06.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_06[1].trx

No tests found
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec ► WhenAccessSecureApiAndAuthenticated_ThenReturnsResponse

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\AuthNApiSpec.cs:line 28
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec ► WhenAccessSecureApiAndNotAuthenticated_ThenReturnsError

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\AuthNApiSpec.cs:line 28
   at InvokeStub_AuthNApiSpec..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecureGetRequest ► WhenRequestedForAnonymousWithCSRFToken_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec.GivenAnInsecureGetRequest..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFApiSpec.cs:line 76
   at InvokeStub_GivenAnInsecureGetRequest..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecureGetRequest ► WhenRequestedWithNoCSRFToken_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec.GivenAnInsecureGetRequest..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFApiSpec.cs:line 76
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAnonymousUser ► WhenRequestedCSRFToken_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec.GivenAnInsecurePostRequestByAnonymousUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFApiSpec.cs:line 130
   at InvokeStub_GivenAnInsecurePostRequestByAnonymousUser..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAnonymousUser ► WhenRequestedWithMismatchedCookieAndHeaderForAnonymous_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec.GivenAnInsecurePostRequestByAnonymousUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFApiSpec.cs:line 130
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithAnonymousCSRFToken_ThenForbidden

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec.GivenAnInsecurePostRequestByAuthenticatedUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFApiSpec.cs:line 242
   at InvokeStub_GivenAnInsecurePostRequestByAuthenticatedUser..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithUsersCSRFToken_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec.GivenAnInsecurePostRequestByAuthenticatedUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFApiSpec.cs:line 242
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenNoContext ► WhenRequestWebRoot_ThenReturnsIndexHtml

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec.GivenNoContext..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFApiSpec.cs:line 29
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec ► WhenGetAllFeatureFlags_ThenReturnsFlags

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\FeatureFlagsApiSpec.cs:line 31
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec ► WhenGetFeatureFlag_ThenReturnsFlag

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az534-924_2024-03-20_22_21_35.trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     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)
     --- End of inner exception stack trace ---
     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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   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)
   --- End of inner exception stack trace ---
   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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, 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.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 Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\FeatureFlagsApiSpec.cs:line 31
   at InvokeStub_FeatureFlagsApiSpec..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)