forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[service-bus] Track 2 - port sender.open() (Azure#8636)
* Open a sender when you create it from servicebusclient * Update test message * Updating test file to be a bit more accurate in our new world. * Somehow missed this one. * Need to await on createSender now * Fix merge failures. * - Adding in retries and abortSignal support into sender.open()/createSender(). - Updating migration guide to mention the change to async for createSender() and createSessionReceiver() * Updating inline snippets. * Updating samples for the async sender and session receivers. * Fixing doc comment for createSender() and properly export the CreateSenderOptions type. * Internals have changed so that the sender is actually initialized before we've had a chance to mock anything. Changing to simulate the connection being closed so open() will get called (and fail properly in our mock) * Simplify the 'send*' style tests for non-existent namespaces to just testing when createSender() is called. * Same deal here - createSender() opens the connection and the errors are discovered earlier. * Fixed an issue where I wasn't await'ing on the retry() itself, bypassing the error handling already set up in onDetached.
- Loading branch information
1 parent
19c1a04
commit d0ad83c
Showing
45 changed files
with
458 additions
and
381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.