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

Create a mutable list of insert keys so verify works. #4934

Closed

Conversation

mpawliszyn
Copy link
Collaborator

No description provided.

@mpawliszyn mpawliszyn requested a review from sougou as a code owner June 17, 2019 20:25
@mpawliszyn mpawliszyn force-pushed the mikepaw.fix-insert-ignore branch 2 times, most recently from 050e729 to 6f810fb Compare June 17, 2019 21:04
This reverts commit 8f522d1.

Signed-off-by: Michael Pawliszyn <mikepaw@squareup.com>
Instead of getting everything sorting the same way, it is much easier to
save a copy that we use to validate lookup table inserts.

Signed-off-by: Michael Pawliszyn <mikepaw@squareup.com>
Signed-off-by: Michael Pawliszyn <mikepaw@squareup.com>
@sougou
Copy link
Contributor

sougou commented Jun 27, 2019

Can you take a look at #4965. Instead of dealing with sorted values from the callers, it's better that the callee sort a copy of the input values. This way, no one is externally affected. I've copied your tests into the new PR to show that it works as intended.

@sougou
Copy link
Contributor

sougou commented Jun 27, 2019

Closed in favor of #4965

@sougou sougou closed this Jun 27, 2019
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.

2 participants