Skip to content

Azure Service Bus batching with conventional routing: listener EndpointName is the raw type name, not the sanitized queue name #3827

Description

@jeremydmiller

The in-file note on this class says "Needs its own issue"; that was never actioned.

Bug_2307_batching_with_conventional_routing is tagged [Trait("Category", "Flaky")], removing 1 test from CI. It is not flaky — it fails 1 of 1, deterministically, and since the entity-name sanitizing fix it fails in 5 seconds on a plain assertion rather than a 2-minute broker timeout, which makes the real defect readable:

Expected a listener endpoint for queue 'wolverine.azureservicebus.tests.bugs.batcheditem'
but found only: Wolverine.AzureServiceBus.Tests.Bugs.BatchedItem, AzureServiceBusResponses, ...

The listener is created for the batch element type — that much of #2307 works. Its EndpointName is just the raw type name (Wolverine.AzureServiceBus.Tests.Bugs.BatchedItem) rather than the sanitized queue name (wolverine.azureservicebus.tests.bugs.batcheditem).

So this is a naming bug in the #2307 fix, not a routing or provisioning failure: batching with conventional routing does not run the element type's endpoint name through the same sanitizing that the queue name gets.

Fixing it should let the tag come off and return the test to CIAzureServiceBus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions