diff --git a/src/NServiceBus.Transport.SQS.AcceptanceTests/ConfigureEndpointSqsTransport.cs b/src/NServiceBus.Transport.SQS.AcceptanceTests/ConfigureEndpointSqsTransport.cs index b098f99d3..c73ba8ee9 100644 --- a/src/NServiceBus.Transport.SQS.AcceptanceTests/ConfigureEndpointSqsTransport.cs +++ b/src/NServiceBus.Transport.SQS.AcceptanceTests/ConfigureEndpointSqsTransport.cs @@ -25,8 +25,6 @@ public ConfigureEndpointSqsTransport(bool supportsPublishSubscribe = true) public Task Configure(string endpointName, EndpointConfiguration configuration, RunSettings settings, PublisherMetadata publisherMetadata) { - PreventInconclusiveTestsFromRunning(endpointName); - var transport = PrepareSqsTransport(supportsPublishSubscribe); configuration.UseTransport(transport); @@ -68,6 +66,7 @@ public static SqsTransport PrepareSqsTransport(bool supportsPublishSubscribe = t static void ApplyMappingsToSupportMultipleInheritance(string endpointName, SqsTransport transportConfig) { + // TODO: This can probably be simplified now with the publisher mapping if (endpointName == Conventions.EndpointNamingConvention(typeof(MultiSubscribeToPolymorphicEvent.Subscriber))) { transportConfig.MapEvent(); @@ -99,13 +98,5 @@ static void ApplyMappingsToSupportMultipleInheritance(string endpointName, SqsTr public Task Cleanup() => // Queues are cleaned up once, globally, in SetupFixture. Task.CompletedTask; - - static void PreventInconclusiveTestsFromRunning(string endpointName) - { - if (endpointName == Conventions.EndpointNamingConvention(typeof(MessageDriven.Pub_from_sendonly.SendOnlyPublisher))) - { - Assert.Inconclusive("Test is not using endpoint naming conventions in hardcoded subscription storage. Should be fixed in core vNext."); - } - } } } \ No newline at end of file diff --git a/src/NServiceBus.Transport.SQS.AcceptanceTests/NServiceBus.Transport.SQS.AcceptanceTests.csproj b/src/NServiceBus.Transport.SQS.AcceptanceTests/NServiceBus.Transport.SQS.AcceptanceTests.csproj index 3af590a2e..79b5fb4cd 100644 --- a/src/NServiceBus.Transport.SQS.AcceptanceTests/NServiceBus.Transport.SQS.AcceptanceTests.csproj +++ b/src/NServiceBus.Transport.SQS.AcceptanceTests/NServiceBus.Transport.SQS.AcceptanceTests.csproj @@ -14,7 +14,7 @@ - +