Skip to content

Copy client hooks to child connections. #2680

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

Closed
wants to merge 2 commits into from

Conversation

Crystalix007
Copy link

Enables parent hooks on child connections to allow mocking to hook into the commands run on those connections.

Also fixes a flapping test on Redis Gears, caused by an assumption in the order of returned functions.

Michael Kuc added 2 commits August 22, 2023 16:24
When creating a new connection from a client, uses the parent hooks as a
base, to ensure mocking is consistent.
Fixes the Redis Gears TFunctionList test, which was flapping due to
an undefined order of functions being returned.
@ndyakov
Copy link
Member

ndyakov commented Apr 23, 2025

Hey @Crystalix007 can you check the implementation that is part of #3320 . I think it covers your usecase.

@ndyakov ndyakov closed this Apr 23, 2025
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