-
Notifications
You must be signed in to change notification settings - Fork 57
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
RUMM-2568: Remove DataReader v1 usages #1071
RUMM-2568: Remove DataReader v1 usages #1071
Conversation
Codecov Report
@@ Coverage Diff @@
## nogorodnikov/rumm-2563/create-storage-and-uploader-outside-of-the-feature #1071 +/- ##
=============================================================================================================
+ Coverage 83.16% 83.20% +0.04%
=============================================================================================================
Files 306 306
Lines 10176 10173 -3
Branches 1649 1649
=============================================================================================================
+ Hits 8462 8464 +2
+ Misses 1213 1209 -4
+ Partials 501 500 -1
|
} | ||
|
||
@Test | ||
fun `𝕄 delete everything 𝕎 dropAll() { there is locked batch }`( |
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.
I am not seeing where you assert the removed locked batches...am I missing something ?
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.
that is true, there is no assertion of this internal state. We just rely that file was removed.
To assert this we need to make lockedBatches
field internal
and Batch
class as well.
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
What does this PR do?
Remove the remaining usages of
DataReader
used in v1, because we are now usingStorage
for reading raw data and de-serialization is not needed anyway.Review checklist (to be filled by reviewers)