Skip to content

Event Hubs: Implement conformance and add resource-specific testing #3255

@oising

Description

@oising

As per #2870 - @eerhardt

Copy the ConformanceTests from another component (storage or service bus), and then update it to EventHubs.

I thought the conformance stuff is based on pre-existing internal MSFT azure infra, things that I can neither see nor access. Is this even something I can do?

There are a bunch of "Conformance Tests" that can be done without even connecting to Azure. These are the tests that run in CI, which also don't have the ability to connect to Azure.

For the tests that do need to connect to Azure, you can develop and run them locally, pointing to a real Azure EventHubs instance that you have access to. And then when you push the change to the PR, change the EventHub URL. See

aspire/tests/Aspire.Azure.Messaging.ServiceBus.Tests/ConformanceTests.cs

Line 16 in aeeee41

public const string FullyQualifiedNamespace = "aspireservicebustests.servicebus.windows.net";

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-integrationsIssues pertaining to Aspire Integrations packagesazureIssues associated specifically with scenarios tied to using Azure

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions