-
Notifications
You must be signed in to change notification settings - Fork 6
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: just synchronize all DAO operations to avoid H2 threading problems #202
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unit Tests Coverage Report
Minimum allowed coverage is Generated by 🐒 cobertura-action against 82e9b49 |
Integration Tests Coverage Report
Minimum allowed coverage is Generated by 🐒 cobertura-action against 82e9b49 |
saranyailla
previously approved these changes
Feb 22, 2024
jcosentino11
previously approved these changes
Feb 23, 2024
MikeDombo
dismissed stale reviews from jcosentino11 and saranyailla
via
February 27, 2024 17:12
40ecf4c
jcosentino11
previously approved these changes
Feb 27, 2024
src/integrationtests/java/com/aws/greengrass/integrationtests/ipc/ShadowIPCTest.java
Show resolved
Hide resolved
jcosentino11
previously approved these changes
Feb 27, 2024
tiancishen
previously approved these changes
Feb 27, 2024
saranyailla
previously approved these changes
Feb 27, 2024
MikeDombo
dismissed stale reviews from saranyailla, tiancishen, and jcosentino11
via
February 27, 2024 19:42
82e9b49
src/integrationtests/java/com/aws/greengrass/integrationtests/ipc/UnhappyUpdateIPCTest.java
Dismissed
Show dismissed
Hide dismissed
src/integrationtests/java/com/aws/greengrass/integrationtests/ipc/UnhappyUpdateIPCTest.java
Dismissed
Show dismissed
Hide dismissed
saranyailla
approved these changes
Feb 27, 2024
jcosentino11
approved these changes
Feb 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Description of changes:
Added a stress test that updates shadow over IPC 1,000 times as fast as possible, causing shadow manager to need to sync to cloud quickly as well. This replicated a customer issue where they saw a nullpointerexception coming from H2. The fix is to simply synchronize all DB access.
I auto-formatted src/integrationtests/java/com/aws/greengrass/integrationtests/ipc/ShadowIPCTest.java, so forgive the large change there. The meaningful change is the addition of test 0 which is the stress test.
Why is this change necessary:
How was this change tested:
Any additional information or context required to review the change:
Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.