-
Notifications
You must be signed in to change notification settings - Fork 102
Add unit tests for chunk deletion by garbage collector #685
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
Add unit tests for chunk deletion by garbage collector #685
Conversation
…tter public for unit tests
f7acc50
to
a3a2053
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @anveshreddy18 for adding more tests
Please address my NIT comments
70bd063
to
57406ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @anveshreddy18 for addressing for my review comments
/lgtm
57406ce
to
e9c4f13
Compare
e9c4f13
to
12ade26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
* Add unit tests for chunk deletion in GC, Make prevSnapshot in snapshotter public for unit tests
* Add unit tests for chunk deletion in GC, Make prevSnapshot in snapshotter public for unit tests Co-authored-by: Anvesh Reddy Pinnapureddy <[email protected]>
* Add unit tests for chunk deletion in GC, Make prevSnapshot in snapshotter public for unit tests
What this PR does / why we need it:
This PR adds unit tests for chunk deletion by GC to make sure that GC only removes chunks and doesn't mess up with non-chunk objects in the store. And that the chunk deletion doesn't affect the general flow of operations in backup-restore.
Which issue(s) this PR fixes:
Fixes #684
Special notes for your reviewer:
Release note: