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

Add test for recovery after quota being exceeded #3050

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

abhipsaMisra
Copy link
Member

Test to validate that twin operations recover after client recovery on exceeding quotas over AMQP.

Linked workitem (internal): https://msazure.visualstudio.com/One/_workitems/edit/9956630

@@ -235,6 +282,7 @@ async Task InitAsync(IotHubDeviceClient deviceClient, TestDevice testDevice)

async Task TestOperationAsync(IotHubDeviceClient deviceClient, TestDevice testDevice)
{
string propName = Guid.NewGuid().ToString();
Copy link
Member Author

Choose a reason for hiding this comment

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

/// <exception cref="ArgumentException"><paramref name="propertyKey"/> already exists in the collection.</exception>

Copy link
Member Author

@abhipsaMisra abhipsaMisra Jan 3, 2023

Choose a reason for hiding this comment

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

Property key being added needs to always be unique. Force-add is no longer supported.

@abhipsaMisra
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@abhipsaMisra abhipsaMisra merged commit 7b4ab99 into previews/v2 Jan 4, 2023
@abhipsaMisra abhipsaMisra deleted the abmisr/twinQuotaTestPreview branch January 4, 2023 00:38
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