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

Copy client hooks to child connections. #2680

Open
wants to merge 2 commits into
base: master
Choose a base branch
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.
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.

1 participant