-
Notifications
You must be signed in to change notification settings - Fork 225
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
fix(tests): fix hang in ioredis test #1839
Conversation
[email protected] includes a bug when using `redis.quit()` that can leave a setInterval uncleared. See redis/ioredis#1215. Fixes #1838
Example of a fixed test run:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from here, approving pending CI passing.
It looks like disconnect
is "the right" way to shut things with all the ioredis internal bookkeeping. I don't see a quit
method defined on that class so I assume it's issuing a quit directly to Redis via some sort of JS or TypeScript property magic.
Yup, I did the same hunt. It results in calling https://redis.io/commands/quit |
[email protected] includes a bug when using
redis.quit()
that can leavea setInterval uncleared. See redis/ioredis#1215.
Fixes #1838