-
Notifications
You must be signed in to change notification settings - Fork 493
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
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -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) |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
No description provided.