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

Use go/mocks to test error conditions and retries with Redis #60

Open
massenz opened this issue Nov 1, 2022 · 0 comments
Open

Use go/mocks to test error conditions and retries with Redis #60

massenz opened this issue Nov 1, 2022 · 0 comments

Comments

@massenz
Copy link
Owner

massenz commented Nov 1, 2022

Currently, handling of a number of error conditions (permanent and/or transient) and the retry logic, cannot be tested, because it is not possible to easily simulate errors during tests with Redis.

Alongside introducing test containers (see #26 ) we should also use go/mocks to inject error conditions in the client in RedisStore.

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

No branches or pull requests

1 participant