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

Don't wait for CASE connection if resolve fails in chip-device-ctrl #8161

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

emontnemery
Copy link
Contributor

Problem

chip-device-ctrl would wait forever for CASE connection callback if name resolution fails (regression from #8012)

Change overview

Don't wait for HandleCommissioningComplete callback if HandleAddressUpdateComplete was passed an error

Testing

How was this tested? (at least one bullet point required)

  • Manually tested with chip-device-ctrl

@CLAassistant
Copy link

CLAassistant commented Jul 7, 2021

CLA assistant check
All committers have signed the CLA.

@andy31415
Copy link
Contributor

I think we should start trying to enable end to end tests if at all possible. Most chip-device-ctrl changes seem to only have manual tests.

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

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

Good catch!

And yes, it would be really good to figure out some way to test this in CI. If it's possible to script this stuff it should not be so difficult to set up a test for it...

@bzbarsky-apple bzbarsky-apple merged commit 1a51e36 into project-chip:master Jul 7, 2021
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
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.

5 participants