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 retry policies into DPS device #2926

Merged
merged 8 commits into from Oct 28, 2022

Conversation

brycewang-microsoft
Copy link
Contributor

Will have another PR to add retry policies for DPS service.

@@ -45,7 +45,7 @@ public void RetryPolicyBase_ObservesInifiniteRetries()
[TestMethod]
[DataRow(true)]
[DataRow(false)]
public void RetryPolicyBase_IotHubException_ReturnsTrueWhenTransient(bool isTransient)
public void RetryPolicyBase_IotHubServiceException_ReturnsTrueWhenTransient(bool isTransient)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

correcting the test method name as we don't have IotHubException context any more.

@brycewang-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -858,8 +861,8 @@ public static ProvisioningClientOptions CreateProvisioningClientOptionsFromName(
if (transportSettings is IotHubClientMqttSettings)
{
return transportSettings.Protocol == IotHubClientTransportProtocol.Tcp
? new ProvisioningClientOptions(new ProvisioningClientAmqpSettings(ProvisioningClientTransportProtocol.Tcp))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was wrong, so correct.

@brycewang-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@brycewang-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@brycewang-microsoft brycewang-microsoft merged commit 6448bff into previews/v2 Oct 28, 2022
@brycewang-microsoft brycewang-microsoft deleted the brycewang/retry-policy-dps-device branch October 28, 2022 20:20
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.

None yet

2 participants