-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Summary
Each of the core Event Hub client and primitive types are instrumented to perform operation-level logging using the EventHubsEventSource, and following the pattern of capturing Start, Stop, and Exception flow, as well as important context for the specific operation.
While the primitive types include tests to validate logging, the mainstream Event Hub clients do not. In order to ensure consistency and quality, all of the top-level types used for Event Hubs operations should be fully tested.
Scope of Work
-
Apply the pattern for injecting a mock log instance used by the
PartitonReceiverand other primitive types to theEventHubConsumerClientandEventHubProducerClient. -
Using the
PartitionReceiverTestsas a model, extend theEventHubConsumerClientTeststo cover the logging performed by the client. -
Using the
PartitionReceiverTestsas a model, extend theEventHubProducerClientTeststo cover the logging performed by the client.
Success Criteria
-
The tests necessary for logging validation have been created and pass reliably.
-
The existing test suite continues to produce deterministic results and pass reliably.