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

[persistence] TestPersistenceService w/ paging #4200

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

ssalonen
Copy link
Contributor

@ssalonen ssalonen commented Apr 28, 2024

Previously TestPersistenceService was not supporting paging. This validated correct behaviour with historicState & lastUpdate & previousState that have the pageSize defined.

Previously it was not supporting paging. This validated correct
behaviour with historicState & lastUpdate & previousState
that have the pageSize defined.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
@ssalonen ssalonen requested a review from a team as a code owner April 28, 2024 08:09
Copy link
Member

@J-N-K J-N-K left a comment

Choose a reason for hiding this comment

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

LGTM, but do we have tests that rely on this behavior?

@ssalonen
Copy link
Contributor Author

No, the tests work either way. Now with this PR we have a bit more regression testing for those methods that utilize page size

@J-N-K J-N-K added the enhancement An enhancement or new feature of the Core label Apr 28, 2024
@J-N-K J-N-K added this to the 4.2 milestone Apr 28, 2024
@J-N-K J-N-K merged commit bad043f into openhab:main Apr 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants