Skip to content

Refactored tests

Refactored tests #190

GitHub Actions / All Tests succeeded Apr 19, 2024 in 0s

All Tests ✅

Tests failed

Report Passed Failed Skipped Time
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_54.trx 302✅ 4s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_55.trx 4s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_55[1].trx 233✅ 6s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_56.trx 5s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_58.trx 35✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_00.trx 4s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_00[1].trx 22✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_00[2].trx 87✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_03.trx 227✅ 4s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_04.trx 17✅ 3s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_04[1].trx 36✅ 3s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_06.trx 80✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_07.trx 17✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_07[1].trx 127✅ 5s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_10.trx 22✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_11.trx 8✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_12.trx 10✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_12[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_13.trx 135✅ 3s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_15.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_15[1].trx 44✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_15[2].trx 48✅ 13s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_17.trx 11✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_17[1].trx 8✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_18.trx 21✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_20.trx 22✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_20[1].trx 27✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_20[2].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_22.trx 25✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_22[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_22[2].trx 77✅ 5s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_23.trx 331✅ 2⚪ 12s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_28.trx 34✅ 5s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_28[1].trx 59✅ 5s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_31.trx 40✅ 3s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_31[1].trx 57✅ 4s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_32.trx 3s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_34.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_35.trx 98✅ 16s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_36.trx 12✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_36[1].trx 84✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_36[2].trx 38✅ 4s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_38.trx 16✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_38[1].trx 31✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_39.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_41.trx 1✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_41[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_41[2].trx 1✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_43.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_43[1].trx 21✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_43[2].trx 31✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_45.trx 7✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_45[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_45[2].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_47.trx 22✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_47[1].trx 30✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_49.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_51.trx 9✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_51[1].trx 10✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_51[2].trx 14✅ 3s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_53.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_53[1].trx 9✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_58.trx 6✅ 13s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_03.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_03[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_04.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_06.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_07.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_08.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_09.trx 56✅ 48s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_10.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_11.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_12.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_12[1].trx 7✅ 17s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_14.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_15.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_17.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_18.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_19.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_20.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_21.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_23.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_24.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_25.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_26.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_27.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_28.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_28[1].trx 3✅ 12s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_31.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_31[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_33.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_34.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_37.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_37[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_38.trx 18✅ 21s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_39.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_39[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_42.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_45.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx 1✅ 35❌ 148s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_52.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_52[1].trx 16✅ 18s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_54.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_54[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_56.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_57.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_58.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_00.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_02.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_04.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_05.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_05[1].trx 14✅ 38s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_06.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_08.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_09.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_11.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_12.trx 7✅ 20s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_14.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_16.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_18.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_27.trx 9✅ 18s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_28.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_29.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_32.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_33.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_38_40.trx 5✅ 10s

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_54.trx

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

Test suite Passed Failed Skipped Time
Common.UnitTests.CountryCodesSpec 12✅ 78ms
Common.UnitTests.ErrorSpec 10✅ 3ms
Common.UnitTests.Extensions.CollectionExtensionsSpec 3✅ 1ms
Common.UnitTests.Extensions.DateTimeExtensionsSpec 44✅ 72ms
Common.UnitTests.Extensions.DictionaryExtensionsSpec 12✅ 150ms
Common.UnitTests.Extensions.EnumExtensionsSpec 10✅ 20ms
Common.UnitTests.Extensions.ObjectExtensionsSpec 16✅ 54ms
Common.UnitTests.Extensions.StringExtensionsSpec 66✅ 99ms
Common.UnitTests.Extensions.TimeSpanExtensionsSpec 7✅ 5ms
Common.UnitTests.OptionalOfTSpec 50✅ 22ms
Common.UnitTests.OptionalSpec 16✅ 79ms
Common.UnitTests.Recording.RecordingExtensionsSpec 2✅ 275ms
Common.UnitTests.ReflectorSpec 3✅ 21ms
Common.UnitTests.ResultSpec+ResultWithoutValueSpec 14✅ 4ms
Common.UnitTests.ResultSpec+ResultWithValueSpec 31✅ 147ms
Common.UnitTests.TimezonesSpec 6✅ 211ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_55.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_55[1].trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenAPolicy 5✅ 55ms
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenPlatformAuthorization 9✅ 58ms
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenRolesAndFeatures 8✅ 108ms
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenTenantAuthorization 7✅ 12ms
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ApiUsageFilterSpec 5✅ 1s
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ContentNegotiationFilterSpec 26✅ 106ms
Infrastructure.Web.Api.Common.UnitTests.Endpoints.MultiTenancyFilterSpec 7✅ 1s
Infrastructure.Web.Api.Common.UnitTests.Endpoints.RequestCorrelationFilterSpec 3✅ 5ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasGetOptionsExtensionsSpec 6✅ 3ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasSearchOptionsExtensionsSpec 9✅ 66ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpRequestExtensionsSpec 41✅ 1s
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpResponseExtensionsSpec 3✅ 29ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.RequestExtensionsSpec 15✅ 67ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec 5✅ 11ms
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenAnyUpload 4✅ 6ms
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenKnownFile 6✅ 4ms
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenUnknownFile 3✅ 42ms
Infrastructure.Web.Api.Common.UnitTests.HasGetOptionsSpec 4✅ 8ms
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenARequest 5✅ 2ms
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenASigner 3✅ 13ms
Infrastructure.Web.Api.Common.UnitTests.JsonDateTimeConverterSpec 6✅ 84ms
Infrastructure.Web.Api.Common.UnitTests.Pipeline.ValidationBehaviorSpec 2✅ 278ms
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenAnUntenantedRequestDto 8✅ 985ms
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenAnyRequestDto 3✅ 2ms
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenATenantedOrganizationRequestDto 5✅ 31ms
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenATenantedRequestDto 5✅ 5ms
Infrastructure.Web.Api.Common.UnitTests.Validation.AdditionalValidatorSpec 5✅ 163ms
Infrastructure.Web.Api.Common.UnitTests.Validation.HasGetOptionsValidatorSpec 10✅ 237ms
Infrastructure.Web.Api.Common.UnitTests.Validation.HasSearchOptionsValidatorSpec 15✅ 29ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_56.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_35_58.trx

35 tests were completed in 2s 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✅ 187ms
CarsInfrastructure.UnitTests.Api.Cars.RegisterCarRequestValidatorSpec 9✅ 55ms
CarsInfrastructure.UnitTests.Api.Cars.ReleaseCarAvailabilityRequestValidatorSpec 4✅ 236ms
CarsInfrastructure.UnitTests.Api.Cars.ReserveCarIfAvailableRequestValidatorSpec 6✅ 50ms
CarsInfrastructure.UnitTests.Api.Cars.ScheduleMaintenanceCarRequestValidatorSpec 4✅ 7ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllAvailableCarsRequestValidatorSpec 4✅ 242ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllCarsRequestValidatorSpec 1✅ 151ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllUnavailabilitiesRequestValidatorSpec 1✅ 27ms
CarsInfrastructure.UnitTests.Api.Cars.TakeOfflineCarRequestValidatorSpec 4✅ 7ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_00.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_00[1].trx

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

Test suite Passed Failed Skipped Time
Application.Interfaces.UnitTests.GetOptionsExtensionsSpec 6✅ 36ms
Application.Interfaces.UnitTests.SearchOptionsExtensionsSpec 5✅ 40ms
Application.Interfaces.UnitTests.SearchOptionsSpec 11✅ 766ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_00[2].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✅ 44ms
Domain.Interfaces.UnitTests.Authorization.PlatformFeaturesSpec 1✅ 2ms
Domain.Interfaces.UnitTests.Authorization.PlatformRolesSpec 2✅ 1ms
Domain.Interfaces.UnitTests.Authorization.RoleLevelSpec 14✅ 42ms
Domain.Interfaces.UnitTests.Authorization.TenantFeaturesSpec 1✅ 52ms
Domain.Interfaces.UnitTests.Authorization.TenantRolesSpec 2✅ 1ms
Domain.Interfaces.UnitTests.HydrationPropertiesSpec 13✅ 165ms
Domain.Interfaces.UnitTests.Validations.ValidationsSpec 40✅ 7ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_03.trx

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

Test suite Passed Failed Skipped Time
Domain.Common.UnitTests.ChangeEventTypeMigratorSpec 4✅ 110ms
Domain.Common.UnitTests.Entities.AggregateRootBaseSpec 17✅ 83ms
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec 4✅ 82ms
Domain.Common.UnitTests.Entities.EntityBaseSpec 4✅ 188ms
Domain.Common.UnitTests.Entities.EventSourcedChangeEventExtensionsSpec 1✅ 56ms
Domain.Common.UnitTests.Extensions.HydrationPropertiesExtensionsSpec 6✅ 43ms
Domain.Common.UnitTests.Identity.NamePrefixedIdentifierFactorySpec 11✅ 46ms
Domain.Common.UnitTests.MessageQueueIdFactorySpec 8✅ 14ms
Domain.Common.UnitTests.ValueObjects.EventStreamSpec 12✅ 70ms
Domain.Common.UnitTests.ValueObjects.IdentifierExtensionsSpec 4✅ 2ms
Domain.Common.UnitTests.ValueObjects.IdentifierSpec 1✅ 117ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectComparableSpec 40✅ 4ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectEqualitySpec 22✅ 10ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectSpec 2✅ 1ms
Domain.Common.UnitTests.ValueObjects.ValueObjectComparableSpec 23✅ 3ms
Domain.Common.UnitTests.ValueObjects.ValueObjectEqualitySpec 44✅ 140ms
Domain.Common.UnitTests.ValueObjects.ValueObjectExtensionsSpec 2✅ 0ms
Domain.Common.UnitTests.ValueObjects.ValueObjectSpec 22✅ 18ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_04.trx

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

Test suite Passed Failed Skipped Time
Application.Common.UnitTests.CallerSpec 8✅ 312ms
Application.Common.UnitTests.Extensions.CallerContextExtensionsSpec 3✅ 319ms
Application.Common.UnitTests.Extensions.FeatureFlagExtensionsSpec 6✅ 369ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_04[1].trx

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

Test suite Passed Failed Skipped Time
Tools.Generators.Web.Api.UnitTests.MinimalApiMediatRGeneratorSpec+GivenAServiceClass 14✅ 1s
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAnyClass 10✅ 767ms
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass 8✅ 794ms
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass+GivenAServiceOperation 4✅ 891ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_06.trx

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

Test suite Passed Failed Skipped Time
CarsDomain.UnitTests.CarRootSpec 35✅ 260ms
CarsDomain.UnitTests.CausedBySpec 4✅ 103ms
CarsDomain.UnitTests.JurisdictionSpec 3✅ 1ms
CarsDomain.UnitTests.LicensePlateSpec 3✅ 103ms
CarsDomain.UnitTests.ManufacturerSpec 3✅ 8ms
CarsDomain.UnitTests.NumberPlateSpec 3✅ 1ms
CarsDomain.UnitTests.TimeSlotSpec 4✅ 2ms
CarsDomain.UnitTests.UnavailabilitySpec 13✅ 113ms
CarsDomain.UnitTests.VehicleManagersSpec 6✅ 8ms
CarsDomain.UnitTests.VehicleOwnerSpec 2✅ 102ms
CarsDomain.UnitTests.YearSpec 4✅ 2ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_07.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✅ 339ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_07[1].trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Web.Hosting.Common.UnitTests.AnonymousCallerContextSpec 2✅ 25ms
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenEncryptedSettings 1✅ 2ms
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenNoEncryptedSettings 1✅ 45ms
Infrastructure.Web.Hosting.Common.UnitTests.AspNetCallerContextSpec 23✅ 75ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.APIKeyAuthenticationHandlerSpec 5✅ 692ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.HMACAuthenticationHandlerSpec 5✅ 49ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationHandlerSpec 11✅ 22ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationPolicyProviderSpec 2✅ 19ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFMiddlewareSpec 15✅ 1s
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFServiceSpec 10✅ 514ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFTokenPairSpec 22✅ 46ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAnonymousUser 5✅ 938ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAuthenticatedUser 7✅ 55ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnyCaller 5✅ 24ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.ReverseProxyMiddlewareSpec 3✅ 199ms
Infrastructure.Web.Hosting.Common.UnitTests.SubdomainModulesSpec 10✅ 2s

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_10.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✅ 147ms
BookingsDomain.UnitTests.LocationSpec 2✅ 120ms
BookingsDomain.UnitTests.TripSpec 8✅ 136ms
BookingsDomain.UnitTests.TripsSpec 3✅ 100ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_11.trx

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

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

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_12.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✅ 142ms
BookingsInfrastructure.UnitTests.Api.Bookings.MakeBookingRequestValidatorSpec 5✅ 202ms
BookingsInfrastructure.UnitTests.Api.Bookings.SearchAllBookingsRequestValidatorSpec 4✅ 193ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_12[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_13.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Persistence.Common.UnitTests.BlobStoreSpec 9✅ 234ms
Infrastructure.Persistence.Common.UnitTests.EventSourcingDddCommandStoreSpec 7✅ 61ms
Infrastructure.Persistence.Common.UnitTests.Extensions.DynamicLinqWhereExtensionsSpec 3✅ 3ms
Infrastructure.Persistence.Common.UnitTests.Extensions.EventNotifyingStoreExtensionsSpec 4✅ 27ms
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec 6✅ 4ms
Infrastructure.Persistence.Common.UnitTests.Extensions.StoreExtensionsSpec 21✅ 821ms
Infrastructure.Persistence.Common.UnitTests.Extensions.TypeExtensionsSpec 15✅ 93ms
Infrastructure.Persistence.Common.UnitTests.MessageQueueStoreSpec 5✅ 239ms
Infrastructure.Persistence.Common.UnitTests.ReadModelProjectionStoreSpec 9✅ 77ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingDddCommandStoreSpec 20✅ 76ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingQueryStoreSpec 12✅ 345ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingStoreSpec 24✅ 447ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_15.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_15[1].trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Persistence.Interfaces.UnitTests.CommandEntitySpec 22✅ 322ms
Infrastructure.Persistence.Interfaces.UnitTests.PersistedEntityMetadataSpec 12✅ 157ms
Infrastructure.Persistence.Interfaces.UnitTests.QueryEntitySpec 10✅ 260ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_15[2].trx

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

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

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_17.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✅ 225ms
Infrastructure.Common.UnitTests.DomainServices.AesEncryptionServiceSpec 2✅ 104ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_17[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✅ 46ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_18.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Eventing.Common.UnitTests.Notifications.EventNotificationNotifierSpec 9✅ 243ms
Infrastructure.Eventing.Common.UnitTests.Projections.ProjectionCheckpointRepositorySpec 4✅ 242ms
Infrastructure.Eventing.Common.UnitTests.Projections.ReadModelProjectorSpec 8✅ 223ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_20.trx

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

Test suite Passed Failed Skipped Time
AncillaryInfrastructure.UnitTests.Api.Audits.DeliverAuditRequestValidatorSpec 2✅ 8ms
AncillaryInfrastructure.UnitTests.Api.Emails.DeliverEmailRequestValidatorSpec 2✅ 190ms
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec 2✅ 172ms
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagRequestValidatorSpec 6✅ 168ms
AncillaryInfrastructure.UnitTests.Api.Provisionings.NotifyProvisioningRequestValidatorSpec 2✅ 179ms
AncillaryInfrastructure.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec 3✅ 3ms
AncillaryInfrastructure.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec 3✅ 178ms
AncillaryInfrastructure.UnitTests.Api.Usages.DeliverUsageRequestValidatorSpec 2✅ 3ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_20[1].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✅ 445ms
AncillaryApplication.UnitTests.FeatureFlagsApplicationSpec 3✅ 211ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_20[2].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_22.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✅ 167ms
AncillaryDomain.UnitTests.DeliveryAttemptsSpec 6✅ 12ms
AncillaryDomain.UnitTests.EmailDeliverRootSpec 12✅ 77ms
AncillaryDomain.UnitTests.EmailRecipientSpec 2✅ 90ms
AncillaryDomain.UnitTests.QueuedMessageIdSpec 3✅ 92ms
AncillaryDomain.UnitTests.TemplateArgumentsSpec 1✅ 90ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_22[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_22[2].trx

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

Test suite Passed Failed Skipped Time
Domain.Shared.UnitTests.AvatarSpec 2✅ 432ms
Domain.Shared.UnitTests.EmailAddressSpec 10✅ 6ms
Domain.Shared.UnitTests.FeatureSpec 4✅ 6ms
Domain.Shared.UnitTests.FeaturesSpec 23✅ 22ms
Domain.Shared.UnitTests.NameSpec 2✅ 391ms
Domain.Shared.UnitTests.PersonDisplayNameSpec 2✅ 1s
Domain.Shared.UnitTests.PersonNameSpec 4✅ 5ms
Domain.Shared.UnitTests.PhoneNumberSpec 3✅ 1s
Domain.Shared.UnitTests.RoleSpec 4✅ 4ms
Domain.Shared.UnitTests.RolesSpec 23✅ 1s

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_23.trx

333 tests were completed in 12s with 331 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✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule033 1✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule034 3✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule035 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule036 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule040 1✅ 9s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule041 1✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule042 1✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule043 3✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule044 1✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule045 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenAnyRule 5✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule010 18✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule011And012 6✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule013AndRule017 3✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule014 4✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule015 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule016 35✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule018AndRule019 4✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule020 2✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 1✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 1✅ 9s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 3✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 1✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 3✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025 12✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenAnyResource 1✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule010 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 3✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule012 1✅ 10s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule013 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule014 22✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenAnyDomainEvent 1✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule040 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule041 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 3✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 2✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule045 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule046 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule047 27✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule048 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule049 10✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule020 3✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule021 4✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule022 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule023 2✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule024 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule025 2✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule026 4✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule027 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnyRule 4✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule010 3✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule011 4✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule012 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule013 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule014 2✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule015 2✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule016 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule017 4✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule018 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule030 3✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule031 4✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule032 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule033 2✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule034 4✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule035 6✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule036 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule020 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule023 1✅ 8s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule025 1✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule027 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule010 1✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule014 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule015 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule016 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule018 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule030 2✅ 4s
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✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenAnyIntegrationEvent 1✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule010 1✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule011 1✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule012 3✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule013 1✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule014 18✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule015 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule016 10✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnyRule 1✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.SubdomainModuleAnalyzerSpec+GivenAnySubdomainModule+GivenAnyRule 1✅ 7s
Tools.Analyzers.NonPlatform.UnitTests.SubdomainModuleAnalyzerSpec+GivenAnySubdomainModule+GivenRule010 7✅ 4s

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_28.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenAnUntypedResponse 10✅ 687ms
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenATypedResponse 7✅ 598ms
Infrastructure.Web.Common.UnitTests.Extensions.ResponseProblemExtensionsSpec 17✅ 587ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_28[1].trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenOnlyPlatformConfiguration 10✅ 7ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenTenancyAndNoPlatformConfiguration 10✅ 6ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenTenancyAndPlatformConfiguration 10✅ 1s
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.EventHandlerBaseSpec 4✅ 1s
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Notifications.InProcessSynchronousNotificationRelaySpec 2✅ 374ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Projections.InProcessSynchronousProjectionRelaySpec 2✅ 274ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.HostSettingsSpec 7✅ 1s
Infrastructure.Hosting.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec 7✅ 23ms
Infrastructure.Hosting.Common.UnitTests.Recording.HostRecorderSpec 7✅ 970ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_31.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec+GivenAnotherProvider 7✅ 178ms
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec+GivenCredentialsProvider 6✅ 193ms
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticationApiSpec 4✅ 353ms
Infrastructure.Web.Website.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec 2✅ 2ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordCrashRequestValidatorSpec 2✅ 2ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec 3✅ 36ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordPageViewRequestValidatorSpec 2✅ 2ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordTraceRequestValidatorSpec 4✅ 199ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec 3✅ 4ms
Infrastructure.Web.Website.UnitTests.Application.AuthenticationApplicationSpec 5✅ 208ms
Infrastructure.Web.Website.UnitTests.Application.FeatureFlagsApplicationSpec 2✅ 171ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_31[1].trx

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

Test suite Passed Failed Skipped Time
IdentityInfrastructure.UnitTests.Api.AuthTokens.RefreshTokenRequestValidatorSpec 2✅ 172ms
IdentityInfrastructure.UnitTests.Api.AuthTokens.RevokeRefreshTokenRequestValidatorSpec 2✅ 172ms
IdentityInfrastructure.UnitTests.Api.MachineCredentials.RegisterMachineRequestValidatorSpec 9✅ 113ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticatePasswordRequestValidatorSpec 4✅ 5ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.ConfirmPersonRegistrationRequestValidatorSpec 3✅ 3ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.RegisterPersonPasswordRequestValidatorSpec 15✅ 25ms
IdentityInfrastructure.UnitTests.Api.SSO.AuthenticateSingleSignOnRequestValidatorSpec 8✅ 179ms
IdentityInfrastructure.UnitTests.ApplicationServices.FakeSSOAuthenticationProviderSpec 3✅ 93ms
IdentityInfrastructure.UnitTests.ApplicationServices.JWTTokensServiceSpec 1✅ 243ms
IdentityInfrastructure.UnitTests.DomainServices.EmailAddressServiceSpec 3✅ 205ms
IdentityInfrastructure.UnitTests.DomainServices.PasswordHasherServiceSpec 7✅ 2s

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_32.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_34.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_35.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✅ 9ms
IdentityDomain.UnitTests.APIKeyRootSpec 9✅ 271ms
IdentityDomain.UnitTests.AuthTokensRootSpec 9✅ 38ms
IdentityDomain.UnitTests.LoginMonitorSpec 14✅ 14s
IdentityDomain.UnitTests.PasswordCredentialRootSpec 25✅ 235ms
IdentityDomain.UnitTests.PasswordKeepSpec 23✅ 126ms
IdentityDomain.UnitTests.SSOAuthTokenSpec 2✅ 106ms
IdentityDomain.UnitTests.SSOUserRootSpec 2✅ 136ms
IdentityDomain.UnitTests.VerificationSpec 3✅ 72ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_36.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Shared.UnitTests.ApplicationServices.External.GravatarClientSpec 4✅ 226ms
Infrastructure.Shared.UnitTests.ApplicationServices.External.GravatarHttpServiceClientSpec 2✅ 220ms
Infrastructure.Shared.UnitTests.DomainServices.TokensServiceSpec 6✅ 109ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_36[1].trx

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

Test suite Passed Failed Skipped Time
EndUsersDomain.UnitTests.EndUserRootSpec+GivenAMachine 8✅ 119ms
EndUsersDomain.UnitTests.EndUserRootSpec+GivenAPerson 49✅ 287ms
EndUsersDomain.UnitTests.GuestInvitationSpec 10✅ 112ms
EndUsersDomain.UnitTests.MembershipSpec 6✅ 168ms
EndUsersDomain.UnitTests.MembershipsSpec 11✅ 169ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_36[2].trx

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

Test suite Passed Failed Skipped Time
IdentityApplication.UnitTests.APIKeysApplicationSpec 6✅ 880ms
IdentityApplication.UnitTests.AuthTokensApplicationSpec 6✅ 43ms
IdentityApplication.UnitTests.MachineCredentialsApplicationSpec 1✅ 14ms
IdentityApplication.UnitTests.PasswordCredentialsApplicationSpec 13✅ 2s
IdentityApplication.UnitTests.SingleSignOnApplicationSpec 6✅ 1s
IdentityApplication.UnitTests.SSOProvidersServiceSpec+GivenAuthProviders 4✅ 860ms
IdentityApplication.UnitTests.SSOProvidersServiceSpec+GivenNoAuthProviders 2✅ 1s

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_38.trx

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

Test suite Passed Failed Skipped Time
EndUsersInfrastructure.UnitTests.Api.EndUsers.AssignPlatformRolesRequestValidatorSpec 4✅ 6ms
EndUsersInfrastructure.UnitTests.Api.EndUsers.UnassignPlatformRolesRequestValidatorSpec 4✅ 146ms
EndUsersInfrastructure.UnitTests.Api.Invitations.InviteGuestRequestValidatorSpec 2✅ 137ms
EndUsersInfrastructure.UnitTests.Api.Invitations.ResendGuestInvitationRequestValidatorSpec 3✅ 143ms
EndUsersInfrastructure.UnitTests.Api.Invitations.VerifyGuestInvitationRequestValidatorSpec 3✅ 141ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_38[1].trx

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

Test suite Passed Failed Skipped Time
EndUsersApplication.UnitTests.EndUsersApplicationDomainEventHandlersSpec 2✅ 322ms
EndUsersApplication.UnitTests.EndUsersApplicationSpec 17✅ 642ms
EndUsersApplication.UnitTests.InvitationsApplicationDomainEventHandlersSpec 4✅ 330ms
EndUsersApplication.UnitTests.InvitationsApplicationSpec 8✅ 352ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_39.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_41.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✅ 287ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_41[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_41[2].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✅ 561ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_43.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_43[1].trx

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

Test suite Passed Failed Skipped Time
OrganizationsApplication.UnitTests.OrganizationsApplicationDomainEventHandlersSpec 2✅ 239ms
OrganizationsApplication.UnitTests.OrganizationsApplicationSpec 19✅ 317ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_43[2].trx

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

Test suite Passed Failed Skipped Time
OrganizationsDomain.UnitTests.DisplayNameSpec 2✅ 75ms
OrganizationsDomain.UnitTests.OrganizationRootSpec 15✅ 201ms
OrganizationsDomain.UnitTests.SettingSpec 10✅ 194ms
OrganizationsDomain.UnitTests.SettingsSpec 4✅ 73ms

✅ src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_36_45.trx

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

Test suite Passed Failed Skipped Time
OrganizationsInfrastructure.UnitTests.Api.Organizations.CreateOrganizationRequestValidatorSpec 2✅ 121ms
OrganizationsInfrastructure.UnitTests.Api.Organizations.InviteMemberToOrganizationRequestValidatorSpec 5✅ 125ms
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-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.trx
  src/TestResults/csharp/runneradmin_fv-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.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-az663-211_2024-04-19_20_37_48.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)