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

Fix client querybuf resize test by skipping the clientsCron #1667

Merged

Conversation

enjoy-binbin
Copy link
Member

In #1387, we move clientCron onto a separate timer, in this new timer,
we should check if pause_cron is on to skip the cron.

It causes the following tests to fail, they rely on debug pause-cron.

[err]: query buffer resized correctly in tests/unit/querybuf.tcl
[err]: query buffer resized correctly when not idle in tests/unit/querybuf.tcl

In valkey-io#1387, we move clientCron onto a separate timer, in this new timer,
we should check if pause_cron is on to skip the cron.

It causes the following tests to fail, they rely on debug pause-cron.
```
[err]: query buffer resized correctly in tests/unit/querybuf.tcl
[err]: query buffer resized correctly when not idle in tests/unit/querybuf.tcl
```

Signed-off-by: Binbin <[email protected]>
@enjoy-binbin enjoy-binbin merged commit f875fce into valkey-io:unstable Feb 5, 2025
46 of 48 checks passed
@enjoy-binbin enjoy-binbin deleted the fix_client_resize_test branch February 5, 2025 07:38
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