Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[event-hubs](2.x) appends a unique id to user-provided receive name #6506

Merged

Conversation

chradek
Copy link
Contributor

@chradek chradek commented Dec 11, 2019

Fixes #6378

@chradek chradek requested a review from ramya-rao-a December 11, 2019 22:30

should.equal(receiverNames.size, partitionIds.length, "Unexpected number of receiver names found.");

// wait for all receivers to be open before stopping them.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why wait? why not add an afterEach that closes the client?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a possible bug in our library (will log an issue). If I call stop on the receiveHandler before the cbs link has been established, then client.close will throw an error because it attempts to call close on the link that doesn't yet exist.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#6512 logged

@chradek
Copy link
Contributor Author

chradek commented Dec 12, 2019

Test failures are expected since the iothub connection string format has changed between version 2.x and 5.x of event hubs.

@chradek chradek merged commit 8f229ab into hotfix/event-hubs-receiver-names Dec 12, 2019
@chradek chradek deleted the fix-event-hubs-receiver-names branch December 12, 2019 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants