-
Notifications
You must be signed in to change notification settings - Fork 64
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
Update delete_item logic to handle json partitions #1018
Conversation
assert_equal(num_partitions, 0) | ||
assert_equal(num_json_val_partitions, 0) | ||
|
||
def test_delete_item_with_json_partitions(self, store, small_object, large_object): |
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.
Hmm, maybe it would make more sense to test with the larger object here
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.
imo, we have both as fixtures in this test already so we could easily test with both :)
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.
just left some non-blocking suggestions/questions :)
assert_equal(num_partitions, 0) | ||
assert_equal(num_json_val_partitions, 0) | ||
|
||
def test_delete_item_with_json_partitions(self, store, small_object, large_object): |
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.
imo, we have both as fixtures in this test already so we could easily test with both :)
I'll add that last comment as a todo lol |
We need to update the logic for deleting items to account for a difference in partitions between pickles and json