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

Update mock.go to call hooks that are added to mock client #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cjweber
Copy link

@cjweber cjweber commented Jun 5, 2023

After updating to go-redis-v9, I found that the hooks were not getting executed in tests. This change makes it so hooks that are added to the mock client are executed as expected, per https://uptrace.dev/blog/go-redis-v9.html#improved-hooks.

@cjweber cjweber marked this pull request as draft June 5, 2023 21:51
@cjweber cjweber marked this pull request as ready for review June 5, 2023 21:56
@cjweber
Copy link
Author

cjweber commented Nov 17, 2023

@monkey92t is there any chance my PR could be reviewed? I would love to use v9 mock for my telemetry hook tests using go-redis v9.

@amclay
Copy link

amclay commented Oct 2, 2024

Is this project abandoned?

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