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

Updated SDK commit to use the latest SDK code #416

Merged
merged 36 commits into from
Dec 20, 2023
Merged

Conversation

HarshGandhi-AWS
Copy link
Contributor

@HarshGandhi-AWS HarshGandhi-AWS commented Jun 12, 2023

Motivation

Modifications

Change summary

  • Updated SDK commit to use the latest SDK code.
  • Updated resource manager initializeAllocator method to public so it can be called from outside of SharedCrtResourceManager.
  • Added null check in SharedCrtResourceManager::disconnect method.
  • Updated unit test code to initialize allocator before using CRT library methods like CJSON or Crt::Map.
  • Reverted this change to avoid calling init twice when FP is enabled. https://github.com/awslabs/aws-iot-device-client/pull/391/files

Revision diff summary

If there is more than one revision, please explain what has been changed since the last revision.

  • Addressed reviewers comments
  • Added null check in SharedCrtResourceManager::disconnect method.
  • Updated unit test code to initialize allocator before using CRT library methods like CJSON or Crt::Map.

Testing

Is your change tested? If not, please justify the reason.
Please list your testing steps and test results.

  • Manually tested changes locally
  • Ran CI tests
  • Ran Unit tests locally.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

source/main.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@RogerZhongAWS RogerZhongAWS left a comment

Choose a reason for hiding this comment

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

source/config/Config.cpp Outdated Show resolved Hide resolved
source/SharedCrtResourceManager.cpp Show resolved Hide resolved
@@ -154,6 +156,8 @@ TEST_F(ConfigTestFixture, AllFeaturesEnabled)
"secure-element-token-label": "token-label"
}
})";
SharedCrtResourceManager resourceManager;
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't one of these already initialized in ConfigTestFixture?

HarshGandhi-AWS and others added 9 commits July 5, 2023 13:43
…or and api handle. This will resolve the Sensor pullish unit tests which manually creates and initializes allocator and eventloop.
This change will be reverted later. Added this to investigate DD integ test failure
…pendency version(#426)

* updated code to shutdown on tunnel close callback

* addressed lint errors
  
* addressed lint errors

* addressed lint errors

* updated zlib version

* updated zlib version

* updated comment
RogerZhongAWS
RogerZhongAWS previously approved these changes Dec 20, 2023
RogerZhongAWS
RogerZhongAWS previously approved these changes Dec 20, 2023
@HarshGandhi-AWS HarshGandhi-AWS dismissed stale reviews from RogerZhongAWS and marcoemorais-aws December 20, 2023 19:07

The merge-base changed after approval.

@HarshGandhi-AWS HarshGandhi-AWS removed the request for review from marcoemorais-aws December 20, 2023 19:09
RogerZhongAWS
RogerZhongAWS previously approved these changes Dec 20, 2023
@HarshGandhi-AWS HarshGandhi-AWS dismissed RogerZhongAWS’s stale review December 20, 2023 19:13

The merge-base changed after approval.

@HarshGandhi-AWS HarshGandhi-AWS dismissed BolongZhang-AWS’s stale review December 20, 2023 19:19

The merge-base changed after approval.

Copy link
Contributor

@BolongZhang-AWS BolongZhang-AWS left a comment

Choose a reason for hiding this comment

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

ship

@HarshGandhi-AWS HarshGandhi-AWS merged commit f4da551 into main Dec 20, 2023
70 of 73 checks passed
@HarshGandhi-AWS HarshGandhi-AWS deleted the updateSDKVersion branch December 20, 2023 19:23
This pull request was closed.
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.

4 participants