Created FeatureFlagging services, APIs and source generator, and Flag… #161
All Tests ✅
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_11_57.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_11_57[1].trx
294 tests were completed in 9s with 294 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Common.UnitTests.CountryCodesSpec | 12✅ | 326ms | ||
Common.UnitTests.ErrorSpec | 6✅ | 1ms | ||
Common.UnitTests.Extensions.CollectionExtensionsSpec | 3✅ | 12ms | ||
Common.UnitTests.Extensions.DateTimeExtensionsSpec | 44✅ | 114ms | ||
Common.UnitTests.Extensions.DictionaryExtensionsSpec | 12✅ | 110ms | ||
Common.UnitTests.Extensions.EnumExtensionsSpec | 10✅ | 146ms | ||
Common.UnitTests.Extensions.ObjectExtensionsSpec | 16✅ | 152ms | ||
Common.UnitTests.Extensions.StringExtensionsSpec | 62✅ | 688ms | ||
Common.UnitTests.Extensions.TimeSpanExtensionsSpec | 7✅ | 4ms | ||
Common.UnitTests.OptionalOfTSpec | 50✅ | 20ms | ||
Common.UnitTests.OptionalSpec | 16✅ | 55ms | ||
Common.UnitTests.Recording.RecordingExtensionsSpec | 2✅ | 416ms | ||
Common.UnitTests.ReflectorSpec | 3✅ | 4ms | ||
Common.UnitTests.ResultSpec+ResultWithoutValueSpec | 14✅ | 319ms | ||
Common.UnitTests.ResultSpec+ResultWithValueSpec | 31✅ | 556ms | ||
Common.UnitTests.TimezonesSpec | 6✅ | 348ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_11_58.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_11_58[1].trx
187 tests were completed in 11s with 187 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Api.Common.UnitTests.ApiUsageFilterSpec | 5✅ | 166ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenAPolicy | 5✅ | 23ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenPlatformAuthorization | 9✅ | 25ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenRolesAndFeatures | 8✅ | 612ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenTenantAuthorization | 7✅ | 30ms | ||
Infrastructure.Web.Api.Common.UnitTests.ContentNegotiationFilterSpec | 26✅ | 552ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasGetOptionsExtensionsSpec | 6✅ | 65ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasSearchOptionsExtensionsSpec | 9✅ | 9ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpRequestExtensionsSpec | 36✅ | 782ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpResponseExtensionsSpec | 3✅ | 10ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.RequestExtensionsSpec | 15✅ | 163ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec | 5✅ | 460ms | ||
Infrastructure.Web.Api.Common.UnitTests.HasGetOptionsSpec | 4✅ | 11ms | ||
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenARequest | 5✅ | 2ms | ||
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenASigner | 3✅ | 728ms | ||
Infrastructure.Web.Api.Common.UnitTests.JsonDateTimeConverterSpec | 6✅ | 9ms | ||
Infrastructure.Web.Api.Common.UnitTests.RequestCorrelationFilterSpec | 3✅ | 14ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.AdditionalValidatorSpec | 5✅ | 51ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.HasGetOptionsValidatorSpec | 10✅ | 18ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.HasSearchOptionsValidatorSpec | 15✅ | 534ms | ||
Infrastructure.Web.Api.Common.UnitTests.ValidationBehaviorSpec | 2✅ | 1s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_01.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✅ | 6ms | ||
CarsInfrastructure.UnitTests.Api.Cars.GetCarRequestValidatorSpec | 1✅ | 6ms | ||
CarsInfrastructure.UnitTests.Api.Cars.RegisterCarRequestValidatorSpec | 9✅ | 338ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ReleaseCarAvailabilityRequestValidatorSpec | 4✅ | 37ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ReserveCarIfAvailableRequestValidatorSpec | 6✅ | 81ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ScheduleMaintenanceCarRequestValidatorSpec | 4✅ | 21ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllAvailableCarsRequestValidatorSpec | 4✅ | 339ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllCarsRequestValidatorSpec | 1✅ | 257ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllUnavailabilitiesRequestValidatorSpec | 1✅ | 10ms | ||
CarsInfrastructure.UnitTests.Api.Cars.TakeOfflineCarRequestValidatorSpec | 4✅ | 342ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_02.trx
22 tests were completed in 3s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Application.Interfaces.UnitTests.GetOptionsExtensionsSpec | 6✅ | 55ms | ||
Application.Interfaces.UnitTests.SearchOptionsExtensionsSpec | 5✅ | 54ms | ||
Application.Interfaces.UnitTests.SearchOptionsSpec | 11✅ | 934ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_03.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✅ | 13ms | ||
Domain.Interfaces.UnitTests.Authorization.PlatformFeaturesSpec | 1✅ | 0ms | ||
Domain.Interfaces.UnitTests.Authorization.PlatformRolesSpec | 2✅ | 1ms | ||
Domain.Interfaces.UnitTests.Authorization.RoleLevelSpec | 14✅ | 11ms | ||
Domain.Interfaces.UnitTests.Authorization.TenantFeaturesSpec | 1✅ | 67ms | ||
Domain.Interfaces.UnitTests.Authorization.TenantRolesSpec | 2✅ | 65ms | ||
Domain.Interfaces.UnitTests.HydrationPropertiesSpec | 13✅ | 294ms | ||
Domain.Interfaces.UnitTests.Validations.ValidationsSpec | 40✅ | 72ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_04.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_05.trx
227 tests were completed in 2s with 227 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Domain.Common.UnitTests.ChangeEventTypeMigratorSpec | 4✅ | 8ms | ||
Domain.Common.UnitTests.Entities.AggregateRootBaseSpec | 17✅ | 138ms | ||
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec | 4✅ | 58ms | ||
Domain.Common.UnitTests.Entities.EntityBaseSpec | 4✅ | 103ms | ||
Domain.Common.UnitTests.Entities.EventSourcedChangeEventExtensionsSpec | 1✅ | 197ms | ||
Domain.Common.UnitTests.Extensions.HydrationPropertiesExtensionsSpec | 6✅ | 18ms | ||
Domain.Common.UnitTests.Identity.NamePrefixedIdentifierFactorySpec | 11✅ | 8ms | ||
Domain.Common.UnitTests.MessageQueueIdFactorySpec | 8✅ | 185ms | ||
Domain.Common.UnitTests.ValueObjects.EventStreamSpec | 12✅ | 169ms | ||
Domain.Common.UnitTests.ValueObjects.IdentifierExtensionsSpec | 4✅ | 2ms | ||
Domain.Common.UnitTests.ValueObjects.IdentifierSpec | 1✅ | 274ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectComparableSpec | 40✅ | 6ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectEqualitySpec | 22✅ | 165ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectSpec | 2✅ | 3ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectComparableSpec | 23✅ | 126ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectEqualitySpec | 44✅ | 141ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectExtensionsSpec | 2✅ | 0ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectSpec | 22✅ | 27ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_06.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✅ | 285ms | ||
Application.Common.UnitTests.Extensions.CallerContextExtensionsSpec | 3✅ | 289ms | ||
Application.Common.UnitTests.Extensions.FeatureFlagExtensionsSpec | 6✅ | 328ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_09.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✅ | 269ms | ||
CarsDomain.UnitTests.CausedBySpec | 4✅ | 6ms | ||
CarsDomain.UnitTests.JurisdictionSpec | 3✅ | 6ms | ||
CarsDomain.UnitTests.LicensePlateSpec | 3✅ | 2ms | ||
CarsDomain.UnitTests.ManufacturerSpec | 3✅ | 139ms | ||
CarsDomain.UnitTests.NumberPlateSpec | 3✅ | 7ms | ||
CarsDomain.UnitTests.TimeSlotSpec | 4✅ | 138ms | ||
CarsDomain.UnitTests.UnavailabilityEntitySpec | 13✅ | 78ms | ||
CarsDomain.UnitTests.VehicleManagersSpec | 6✅ | 152ms | ||
CarsDomain.UnitTests.VehicleOwnerSpec | 2✅ | 1ms | ||
CarsDomain.UnitTests.YearSpec | 4✅ | 2ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_09[1].trx
107 tests were completed in 4s with 107 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Hosting.Common.UnitTests.AnonymousCallerContextSpec | 2✅ | 3ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenEncryptedSettings | 1✅ | 2ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenNoEncryptedSettings | 1✅ | 46ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.AspNetCallerContextSpec | 20✅ | 91ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.APIKeyAuthenticationHandlerSpec | 5✅ | 542ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.HMACAuthenticationHandlerSpec | 5✅ | 546ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationHandlerSpec | 11✅ | 21ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationPolicyProviderSpec | 2✅ | 411ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFMiddlewareSpec | 15✅ | 448ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFServiceSpec | 10✅ | 385ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFTokenPairSpec | 22✅ | 18ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.ReverseProxyMiddlewareSpec | 3✅ | 182ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.SubDomainModulesSpec | 10✅ | 1s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_11.trx
33 tests were completed in 6s with 33 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Generators.Web.Api.UnitTests.MinimalApiMediatRGeneratorSpec+GivenAServiceClass | 11✅ | 3s | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAnyClass | 10✅ | 1s | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass | 8✅ | 1s | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass+GivenAServiceOperation | 4✅ | 2s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_12.trx
48 tests were completed in 9s with 48 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRuleSas001 | 34✅ | 6s | ||
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRuleSas002 | 14✅ | 6s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_13.trx
17 tests were completed in 3s with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsApplication.UnitTests.CarsApplicationSpec | 17✅ | 488ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_13[1].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✅ | 290ms | ||
BookingsDomain.UnitTests.LocationSpec | 2✅ | 187ms | ||
BookingsDomain.UnitTests.TripEntitySpec | 8✅ | 261ms | ||
BookingsDomain.UnitTests.TripsSpec | 3✅ | 246ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_15.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✅ | 297ms | ||
BookingsInfrastructure.UnitTests.Api.Bookings.MakeBookingRequestValidatorSpec | 5✅ | 365ms | ||
BookingsInfrastructure.UnitTests.Api.Bookings.SearchAllBookingsRequestValidatorSpec | 4✅ | 339ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_15[1].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✅ | 378ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_16.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✅ | 22ms | ||
Infrastructure.Persistence.Common.UnitTests.EventSourcingDddCommandStoreSpec | 7✅ | 67ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.DynamicLinqWhereExtensionsSpec | 3✅ | 4ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.EventNotifyingStoreExtensionsSpec | 4✅ | 31ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec | 6✅ | 6ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.StoreExtensionsSpec | 21✅ | 1s | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.TypeExtensionsSpec | 15✅ | 91ms | ||
Infrastructure.Persistence.Common.UnitTests.MessageQueueStoreSpec | 5✅ | 264ms | ||
Infrastructure.Persistence.Common.UnitTests.ReadModelProjectionStoreSpec | 9✅ | 190ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingDddCommandStoreSpec | 20✅ | 463ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingQueryStoreSpec | 12✅ | 296ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingStoreSpec | 24✅ | 144ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_18.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_18[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✅ | 282ms | ||
Infrastructure.Persistence.Interfaces.UnitTests.PersistedEntityMetadataSpec | 12✅ | 106ms | ||
Infrastructure.Persistence.Interfaces.UnitTests.QueryEntitySpec | 10✅ | 206ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_19.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_20.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✅ | 220ms | ||
Infrastructure.Common.UnitTests.DomainServices.AesEncryptionServiceSpec | 2✅ | 70ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_20[1].trx
19 tests were completed in 2s with 19 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Eventing.Common.UnitTests.Notifications.EventNotificationNotifierSpec | 7✅ | 243ms | ||
Infrastructure.Eventing.Common.UnitTests.Projections.ProjectionCheckpointRepositorySpec | 4✅ | 282ms | ||
Infrastructure.Eventing.Common.UnitTests.Projections.ReadModelProjectorSpec | 8✅ | 246ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_20[2].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✅ | 157ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_23.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_23[1].trx
20 tests were completed in 2s with 20 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryInfrastructure.UnitTests.Api.Audits.DeliverAuditRequestValidatorSpec | 2✅ | 364ms | ||
AncillaryInfrastructure.UnitTests.Api.Emails.DeliverEmailRequestValidatorSpec | 2✅ | 6ms | ||
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec | 2✅ | 8ms | ||
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagRequestValidatorSpec | 6✅ | 384ms | ||
AncillaryInfrastructure.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec | 3✅ | 361ms | ||
AncillaryInfrastructure.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec | 3✅ | 361ms | ||
AncillaryInfrastructure.UnitTests.Api.Usages.DeliverUsageRequestValidatorSpec | 2✅ | 6ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_23[2].trx
22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryApplication.UnitTests.AncillaryApplicationSpec | 19✅ | 502ms | ||
AncillaryApplication.UnitTests.FeatureFlagsApplicationSpec | 3✅ | 298ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_25.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_25[1].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✅ | 166ms | ||
AncillaryDomain.UnitTests.DeliveryAttemptsSpec | 6✅ | 89ms | ||
AncillaryDomain.UnitTests.EmailDeliverRootSpec | 12✅ | 185ms | ||
AncillaryDomain.UnitTests.EmailRecipientSpec | 2✅ | 21ms | ||
AncillaryDomain.UnitTests.QueuedMessageIdSpec | 3✅ | 2ms | ||
AncillaryDomain.UnitTests.TemplateArgumentsSpec | 1✅ | 68ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_26.trx
72 tests were completed in 6s with 72 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Domain.Shared.UnitTests.EmailAddressSpec | 10✅ | 952ms | ||
Domain.Shared.UnitTests.FeatureSpec | 4✅ | 45ms | ||
Domain.Shared.UnitTests.FeaturesSpec | 23✅ | 993ms | ||
Domain.Shared.UnitTests.NameSpec | 2✅ | 850ms | ||
Domain.Shared.UnitTests.PersonDisplayNameSpec | 2✅ | 892ms | ||
Domain.Shared.UnitTests.PersonNameSpec | 4✅ | 19ms | ||
Domain.Shared.UnitTests.RoleSpec | 4✅ | 72ms | ||
Domain.Shared.UnitTests.RolesSpec | 23✅ | 65ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_28.trx
32 tests were completed in 2s with 32 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenAnUntypedResponse | 8✅ | 297ms | ||
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenATypedResponse | 7✅ | 337ms | ||
Infrastructure.Web.Common.UnitTests.Extensions.ResponseProblemExtensionsSpec | 17✅ | 271ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_28[1].trx
154 tests were completed in 7s with 154 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas040 | 3✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas041 | 4✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas042 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas043 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas044 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas045 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas046 | 4✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnyRule | 4✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas030 | 3✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas031 | 4✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas032 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas033 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas034 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas035 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas036 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas037 | 4✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas050 | 3✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas051 | 4✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas052 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas053 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas054 | 4✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas055 | 6✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleSas040 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleSas043 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleSas045 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleSas030 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleSas034 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleSas035 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleSas036 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleSas050 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleSas053 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenAnyRule | 5✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas010 | 18✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas011AndSas012 | 6✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas013AndSas017 | 3✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas014 | 4✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas015 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas016 | 35✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas018AndSas019 | 4✅ | 4s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_29.trx
48 tests were completed in 5s with 48 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetConfigurationSettingsSpec+GivenOnlyPlatformConfiguration | 10✅ | 308ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetConfigurationSettingsSpec+GivenTenancyConfiguration | 10✅ | 349ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.EventHandlerBaseSpec | 4✅ | 395ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Notifications.InProcessSynchronousNotificationRelaySpec | 2✅ | 281ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Projections.InProcessSynchronousProjectionRelaySpec | 2✅ | 655ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.HostSettingsSpec | 6✅ | 305ms | ||
Infrastructure.Hosting.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec | 7✅ | 57ms | ||
Infrastructure.Hosting.Common.UnitTests.Recording.HostRecorderSpec | 7✅ | 364ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_31.trx
40 tests were completed in 2s with 40 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec+GivenAnotherProvider | 7✅ | 8ms | ||
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec+GivenCredentialsProvider | 6✅ | 56ms | ||
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticationApiSpec | 4✅ | 342ms | ||
Infrastructure.Web.Website.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec | 2✅ | 4ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordCrashRequestValidatorSpec | 2✅ | 5ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec | 3✅ | 190ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordPageViewRequestValidatorSpec | 2✅ | 5ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordTraceRequestValidatorSpec | 4✅ | 21ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec | 3✅ | 190ms | ||
Infrastructure.Web.Website.UnitTests.Application.AuthenticationApplicationSpec | 5✅ | 326ms | ||
Infrastructure.Web.Website.UnitTests.Application.FeatureFlagsApplicationSpec | 2✅ | 124ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_33.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_34.trx
37 tests were completed in 3s with 37 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
IdentityApplication.UnitTests.APIKeysApplicationSpec | 6✅ | 80ms | ||
IdentityApplication.UnitTests.AuthTokensApplicationSpec | 6✅ | 359ms | ||
IdentityApplication.UnitTests.MachineCredentialsApplicationSpec | 1✅ | 299ms | ||
IdentityApplication.UnitTests.PasswordCredentialsApplicationSpec | 12✅ | 459ms | ||
IdentityApplication.UnitTests.SingleSignOnApplicationSpec | 6✅ | 393ms | ||
IdentityApplication.UnitTests.SSOProvidersServiceSpec+GivenAuthProviders | 4✅ | 183ms | ||
IdentityApplication.UnitTests.SSOProvidersServiceSpec+GivenNoAuthProviders | 2✅ | 53ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_34[1].trx
53 tests were completed in 4s with 53 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
IdentityInfrastructure.UnitTests.Api.AuthTokens.RefreshTokenRequestValidatorSpec | 2✅ | 5ms | ||
IdentityInfrastructure.UnitTests.Api.AuthTokens.RevokeRefreshTokenRequestValidatorSpec | 2✅ | 4ms | ||
IdentityInfrastructure.UnitTests.Api.MachineCredentials.RegisterMachineRequestValidatorSpec | 9✅ | 173ms | ||
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticatePasswordRequestValidatorSpec | 4✅ | 7ms | ||
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticateSingleSignOnRequestValidatorSpec | 6✅ | 8ms | ||
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.ConfirmPersonRegistrationRequestValidatorSpec | 3✅ | 295ms | ||
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.RegisterPersonRequestValidatorSpec | 13✅ | 502ms | ||
IdentityInfrastructure.UnitTests.ApplicationServices.FakeSSOAuthenticationProviderSpec | 3✅ | 136ms | ||
IdentityInfrastructure.UnitTests.ApplicationServices.JWTTokensServiceSpec | 1✅ | 614ms | ||
IdentityInfrastructure.UnitTests.DomainServices.EmailAddressServiceSpec | 3✅ | 464ms | ||
IdentityInfrastructure.UnitTests.DomainServices.PasswordHasherServiceSpec | 7✅ | 2s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_35.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_36.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✅ | 21ms | ||
IdentityDomain.UnitTests.APIKeyRootSpec | 9✅ | 199ms | ||
IdentityDomain.UnitTests.AuthTokensRootSpec | 9✅ | 168ms | ||
IdentityDomain.UnitTests.LoginMonitorSpec | 14✅ | 14s | ||
IdentityDomain.UnitTests.PasswordCredentialRootSpec | 25✅ | 109ms | ||
IdentityDomain.UnitTests.PasswordKeepSpec | 23✅ | 146ms | ||
IdentityDomain.UnitTests.SSOAuthTokenSpec | 2✅ | 3ms | ||
IdentityDomain.UnitTests.SSOUserRootSpec | 2✅ | 369ms | ||
IdentityDomain.UnitTests.VerificationSpec | 3✅ | 82ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_37.trx
6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Shared.UnitTests.DomainServices.TokensServiceSpec | 6✅ | 65ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_38.trx
38 tests were completed in 2s with 38 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
EndUsersDomain.UnitTests.EndUserRootSpec | 22✅ | 421ms | ||
EndUsersDomain.UnitTests.MembershipSpec | 5✅ | 434ms | ||
EndUsersDomain.UnitTests.MembershipsSpec | 11✅ | 269ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_39.trx
9 tests were completed in 2s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
EndUsersApplication.UnitTests.EndUsersApplicationSpec | 9✅ | 500ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_40.trx
4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
EndUsersInfrastructure.UnitTests.Api.EndUsers.AssignPlatformRolesRequestValidatorSpec | 4✅ | 186ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_40[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_41.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✅ | 609ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_42.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✅ | 292ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_42[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_55.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_55[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_55[2].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_57.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_59.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_12_59[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_01.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_02.trx
52 tests were completed in 28s with 52 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Api.IntegrationTests.AuthNApiSpec | 8✅ | 16s | ||
Infrastructure.Web.Api.IntegrationTests.AuthZApiSpec | 12✅ | 2s | ||
Infrastructure.Web.Api.IntegrationTests.ContentNegotiationApiSpec | 8✅ | 609ms | ||
Infrastructure.Web.Api.IntegrationTests.DataFormatsApiSpec | 5✅ | 1s | ||
Infrastructure.Web.Api.IntegrationTests.DefaultStatusCodeApiSpec | 7✅ | 419ms | ||
Infrastructure.Web.Api.IntegrationTests.ErrorApiSpec | 2✅ | 946ms | ||
Infrastructure.Web.Api.IntegrationTests.HealthCheckApiSpec | 1✅ | 325ms | ||
Infrastructure.Web.Api.IntegrationTests.RequestCorrelationApiSpec+GivenAJsonClient | 1✅ | 380ms | ||
Infrastructure.Web.Api.IntegrationTests.RequestCorrelationApiSpec+GivenAnHttpClient | 4✅ | 511ms | ||
Infrastructure.Web.Api.IntegrationTests.ValidationApiSpec | 4✅ | 1s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_03.trx
7 tests were completed in 15s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsInfrastructure.IntegrationTests.CarsApiSpec | 7✅ | 13s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_04.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_04[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_06.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_07.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_08.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_09.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_11.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_11[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_12.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_14.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_14[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_16.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_17.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_18.trx
3 tests were completed in 8s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BookingsInfrastructure.IntegrationTests.BookingsApiSpec | 3✅ | 7s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_19.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_19[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_21.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_21[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_22.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_23.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_24.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_25.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_26.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_26[1].trx
16 tests were completed in 13s with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryInfrastructure.IntegrationTests.AuditsApiSpec | 3✅ | 3s | ||
AncillaryInfrastructure.IntegrationTests.EmailsApiSpec | 5✅ | 7s | ||
AncillaryInfrastructure.IntegrationTests.FeatureFlagsApiSpec | 2✅ | 341ms | ||
AncillaryInfrastructure.IntegrationTests.RecordingApiSpec | 3✅ | 941ms | ||
AncillaryInfrastructure.IntegrationTests.UsagesApiSpec | 3✅ | 764ms |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_27.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_28.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_30.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_33.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_34.trx
15 tests were completed in 15s with 15 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
IdentityInfrastructure.IntegrationTests.AuthTokensApiSpec | 2✅ | 6s | ||
IdentityInfrastructure.IntegrationTests.MachineCredentialsApiSpec | 3✅ | 3s | ||
IdentityInfrastructure.IntegrationTests.PasswordCredentialsApiSpec | 4✅ | 3s | ||
IdentityInfrastructure.IntegrationTests.SingleSignOnApiSpec | 6✅ | 1s |
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_35.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_36.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_37.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_38.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39.trx
No tests found
❌ src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
36 tests were completed in 149s with 1 passed, 35 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec | 7❌ | 7ms | ||
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecureGetRequest | 3❌ | 3ms | ||
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAnonymousUser | 6❌ | 6ms | ||
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAuthenticatedUser | 4❌ | 4ms | ||
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenNoContext | 1❌ | 1ms | ||
Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec | 2❌ | 2ms | ||
Infrastructure.Web.Website.IntegrationTests.HealthCheckApiSpec | 1✅ | 73ms | ||
Infrastructure.Web.Website.IntegrationTests.RecordingApiSpec | 5❌ | 5ms | ||
Infrastructure.Web.Website.IntegrationTests.ReverseProxyApiSpec | 7❌ | 7ms |
❌ Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec
❌ WhenAccessSecureApiAndAuthenticated_ThenReturnsResponse
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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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)
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec ► WhenAccessSecureApiAndAuthenticated_ThenReturnsResponse
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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|8_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.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec ► WhenAccessSecureApiAndNotAuthenticated_ThenReturnsError
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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|8_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, Object, IntPtr*)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecureGetRequest ► WhenRequestedForAnonymousWithCSRFToken_ThenSucceeds
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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 100
at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
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, Object, IntPtr*)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecureGetRequest ► WhenRequestedWithNoCSRFToken_ThenSucceeds
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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 100
at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
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.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAnonymousUser ► WhenRequestedCSRFToken_ThenSucceeds
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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 100
at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
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, Object, IntPtr*)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAnonymousUser ► WhenRequestedWithMismatchedCookieAndHeaderForAnonymous_ThenSucceeds
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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 100
at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
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.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 114 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithAnonymousCSRFToken_ThenForbidden
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].trx
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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 114
at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
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, Object, IntPtr*)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 114 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithUsersCSRFToken_ThenSucceeds
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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 114
at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
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.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenNoContext ► WhenRequestWebRoot_ThenReturnsIndexHtml
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_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 100
at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
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.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec ► WhenGetAllFeatureFlags_ThenReturnsFlags
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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|8_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.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs
github-actions / All Tests
Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec ► WhenGetFeatureFlag_ThenReturnsFlag
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-744_2024-02-19_05_13_39[1].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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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|8_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|281_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.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
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.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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|8_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, Object, IntPtr*)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)