Skip to content

Fix issues with LogEntryTest - #4035

Merged
ctubbsii merged 1 commit into
apache:mainfrom
ctubbsii:fixLogEntryTest
Dec 7, 2023
Merged

Fix issues with LogEntryTest#4035
ctubbsii merged 1 commit into
apache:mainfrom
ctubbsii:fixLogEntryTest

Conversation

@ctubbsii

@ctubbsii ctubbsii commented Dec 7, 2023

Copy link
Copy Markdown
Member
  • Make constants private
  • Use SimpleImmutableMap instead of anonymous inner class
  • Include getFilePath method in testEquals
  • Test all methods using the constructor
  • Test all methods using fromMetaWalEntry
  • Remove testing of invalid "foo" path that wasn't actually read

* Make constants private
* Use SimpleImmutableMap instead of anonymous inner class
* Include getFilePath method in testEquals
* Test all methods using the constructor
* Test all methods using fromMetaWalEntry
* Remove testing of invalid "foo" path that wasn't actually read
@ctubbsii

ctubbsii commented Dec 7, 2023

Copy link
Copy Markdown
Member Author

Thanks to @keith-turner for helping me make sense of the existing test. I'm still not sure what the original test was trying to cover overall... it just seemed to be testing random things. I rewrote it so it made a bit more sense. This should help with #3997

@ctubbsii
ctubbsii merged commit 3e26064 into apache:main Dec 7, 2023
@ctubbsii
ctubbsii deleted the fixLogEntryTest branch December 7, 2023 01:16
@rsingh433

Copy link
Copy Markdown
Contributor

Thank you for fixing this

@ctubbsii ctubbsii added this to the 3.1.0 milestone Jul 12, 2024
@ctubbsii ctubbsii modified the milestones: 3.1.0, 4.0.0 Mar 14, 2025
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