Skip to content

Add unit tests for fetchstate - #146

Merged
JonoPrest merged 7 commits into
mainfrom
jp/fetch-state-tests
Aug 27, 2024
Merged

JonoPrest merged 7 commits into
mainfrom
jp/fetch-state-tests

Conversation

@JonoPrest

Copy link
Copy Markdown
Collaborator

These new unit tests add about 77% coverage for FetchState

Screenshot 2024-08-26 at 17 29 31

I managed to catch 2 bugs with them. One a problematic bug for rollbacks and one being non critical for calculating sizes of partitions.

There's still more to test but it's time consuming and I think this is already a good addition.

@JonoPrest
JonoPrest requested a review from DZakh August 26, 2024 15:31

@DZakh DZakh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I didn't review the tests in detail, after a quick glance they look good. That's definitely good to have tests :)

@JonoPrest
JonoPrest enabled auto-merge (squash) August 27, 2024 07:53
@JonoPrest
JonoPrest merged commit 2feac17 into main Aug 27, 2024
@JonoPrest
JonoPrest deleted the jp/fetch-state-tests branch August 27, 2024 07:56
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