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

Adding config validation when creating new cache. #299

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

panmari
Copy link
Contributor

@panmari panmari commented Nov 14, 2021

Otherwise this causes more cryptic failures in later code. Best to catch this on initialization.

Copy link
Collaborator

@janisz janisz left a comment

Choose a reason for hiding this comment

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

Can you add a test for that change?

@panmari panmari force-pushed the validation branch 2 times, most recently from 74bfc04 to 2023806 Compare November 23, 2021 21:01
@panmari
Copy link
Contributor Author

panmari commented Nov 23, 2021

Added test coverage.

Copy link
Collaborator

@janisz janisz left a comment

Choose a reason for hiding this comment

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

How about using table test for that?

@panmari
Copy link
Contributor Author

panmari commented Nov 23, 2021

Sure thing, switched to a table test.

@janisz janisz merged commit be11930 into allegro:master Nov 24, 2021
@panmari panmari deleted the validation branch November 25, 2021 20:05
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