forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Service Bus trigger should ignore scheduled/deferred messages (Azure#…
…25127) * Better tests for QueueTime * Test to verify scheduled messages are ignored * Ignore scheduled messages for scaling and queue time * Add additional verification test for metrics * Extract into method with better name * Add ability to extract the state from the annotated message * Test helper * Modifiers * Adjust tests * Change implementation * Switch tests to assume peeking * Naive peeking * Switch to single peek and storing sequence number * Make sure to not run into actual admin client operations that time out and slow down the tests * More test scenarios for new algorithm * New algorithm as discussed * Better variable names * Fix styling * Upgrade to Azure.Messaging.ServiceBus 7.6.0 * Review comments * Update sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/src/Listeners/ServiceBusScaleMonitor.cs Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
- Loading branch information
1 parent
94830e4
commit 372bf0a
Showing
4 changed files
with
277 additions
and
16 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
Oops, something went wrong.