[Track One] Tests for closing the Event Hub client are unstable during nightly runs #7435
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
Event Hubs
Service Attention
Workflow: This issue is responsible by Azure service team.
Summary
A recent change introduced new tests to verify the behavior that when an
EventHubClient
is closed, any senders and receivers that were created by that client are also marked as closed. These tests have proven to be non-deterministic during nightly test runs, failing intermittently but frequently.An example failure can be found in the nightly results from August 30. The failure looks like:
Scope of Work
Analyze the tests to understand the point of non-determinism and decide on an approach to stabilize for nightly runs.
Refactor the tests as needed to ensure that the results are deterministic and consistently pass.
Out of Scope
Success Criteria
The tests
ClosingEventHubClientClosesSenderEntities
andClosingEventHubClientClosesReceiverEntities
have been refactored or removed and no longer causes intermittent, but frequent, failures during nightly runs.The changes did not cause regressions elsewhere; nightly test runs pass consistently and reliably with deterministic results.
The text was updated successfully, but these errors were encountered: