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

Update MQTT and AMQP minor package versions #3278

Merged
merged 2 commits into from
Apr 18, 2023

Conversation

drwill-ms
Copy link
Contributor

No description provided.

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms enabled auto-merge (squash) April 17, 2023 22:38
@drwill-ms drwill-ms disabled auto-merge April 17, 2023 23:06
@@ -78,15 +79,9 @@ internal static bool FaultShouldDisconnect(string faultType)

await deviceClient.SendTelemetryAsync(faultInjectionMessage, linkedCts.Token).ConfigureAwait(false);
}
catch (IotHubClientException ex) when (ex.IsTransient || ex.ErrorCode == IotHubClientErrorCode.ConnectionForcefullyClosedOnFaultInjection)
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 showing up in GWv2, but they said they'd roll it back, so we don't need it anymore.

{
VerboseTestLogger.WriteLine($"{nameof(ActivateFaultInjectionAsync)}: {ex}");

// For quota injection, the fault is only seen for the original HTTP request.
if (transportSettings is IotHubClientHttpSettings)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Irrelevant in v2.

@@ -439,9 +439,9 @@ public override async Task SendTelemetryAsync(TelemetryMessage message, Cancella

if (message.Properties.ContainsKey("AzIoTHub_FaultOperationType"))
{
// When fualt injection causes this operation to fail, the MQTT layer throws a TaskCanceledException.
// When fault injection causes this operation to fail, the MQTT layer throws a MqttClientDisconnectedException.
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 the breaking change from the MQTT lib.

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms merged commit ec9441e into previews/v2 Apr 18, 2023
@drwill-ms drwill-ms deleted the drwill/protocol-packages branch April 18, 2023 00:29
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.

3 participants