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

Fix: throw transient error when edgeHubCore is disconnected from the broker #4603

Merged

Conversation

vipeller
Copy link
Contributor

so messages will be resent instead of dropping them

…broker, so messages will be resent instead of dropping them
@@ -121,6 +122,43 @@ void Spy(RpcPacket packet)
}
}

[Fact]
public async Task WhenNoConnectionMessagesDontGetDropped()
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the test should just check that it throws IotHubException when it is disconnected.
There should be an integration test in CloudEndpointTest to check that the message is not dropped.

@kodiakhq kodiakhq bot merged commit b196a15 into Azure:master Mar 17, 2021
@vipeller vipeller deleted the vipeller/throw_retriable_exception_fix branch March 23, 2021 21:59
vipeller added a commit to vipeller/iotedge that referenced this pull request Mar 23, 2021
…broker (Azure#4603)

so messages will be resent instead of dropping them

(cherry picked from commit b196a15)
kodiakhq bot pushed a commit that referenced this pull request Mar 24, 2021
…broker (#4603 (#4666)

so messages will be resent instead of dropping them

(cherry picked from commit b196a15)
damonbarry pushed a commit to damonbarry/iotedge that referenced this pull request Apr 15, 2022
…broker (Azure#4603)

so messages will be resent instead of dropping them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants