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

Getter setter for twin fields #1566

Merged
merged 6 commits into from
Jul 1, 2022
Merged

Conversation

tmahmood-microsoft
Copy link
Contributor

@tmahmood-microsoft tmahmood-microsoft commented Jul 1, 2022

Checklist

Reference/Link to the issue solved with this PR (if any)

Description of the problem

Description of the solution

Added getter/setter for missing Twin fields reported by customer (reported using Ava: 2206170060000042)
Also updated unit test::  testQueryTwins() to validate the fields.
updated data type for cloudToDeviceMessageCount from String to Integer
@tmahmood-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@tmahmood-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@tmahmood-microsoft
Copy link
Contributor Author

/azp run

@tmahmood-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@tmahmood-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@timtay-microsoft
Copy link
Member

Can you add a step to an existing e2e test that checks that this value is not null when it calls twinClient.getTwin() ?

Copy link
Member

@timtay-microsoft timtay-microsoft left a comment

Choose a reason for hiding this comment

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

Just one small comment

@tmahmood-microsoft
Copy link
Contributor Author

Updated e2e test to check CloudToDeviceMessageCount is not null

@tmahmood-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@tmahmood-microsoft tmahmood-microsoft merged commit c087bcc into main Jul 1, 2022
@tmahmood-microsoft tmahmood-microsoft deleted the Getter-SetterForTwinFields branch July 1, 2022 22:23
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.

2 participants