Skip to content

test improvements from PR #1333 and check-style clean up#3063

Merged
ctubbsii merged 3 commits intoapache:2.1from
EdColeman:update_lru_cache_tests
Nov 3, 2022
Merged

test improvements from PR #1333 and check-style clean up#3063
ctubbsii merged 3 commits intoapache:2.1from
EdColeman:update_lru_cache_tests

Conversation

@EdColeman
Copy link
Contributor

@EdColeman EdColeman commented Nov 1, 2022

PR #1333 had some significant test improvements. Although there was a lot of commentary on the original ticket it did not seem to reach a conclusion. This PR pulls the test improvements and fixes some check style errors but does not change the functionality of the code as proposed in #13333 - those can be evaluated or abandoned separately from these changes,

@EdColeman EdColeman changed the base branch from main to 2.1 November 1, 2022 21:48
Copy link
Member

@ctubbsii ctubbsii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test changes seem fine. I don't see a compelling reason to put these in a 2.1 bugfix release, though.

The only substantive change is the check for head != null before calling cb.compareTo(head), for which I have reservations below:

@ctubbsii ctubbsii merged commit a1bdcc9 into apache:2.1 Nov 3, 2022
@EdColeman EdColeman deleted the update_lru_cache_tests branch May 6, 2024 20:30
@ctubbsii ctubbsii added this to the 2.1.1 milestone Jul 12, 2024
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.

4 participants