summaryrefslogtreecommitdiff
path: root/tests/integration/psync2-master-restart.tcl
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2023-05-04 18:02:08 +0800
committerGitHub <noreply@github.com>2023-05-04 13:02:08 +0300
commite49c2a52922f1c86eb94b42206cb9d50e1aeb431 (patch)
tree41c83e68fc7277eff1281aa0a0f0dc714e112c78 /tests/integration/psync2-master-restart.tcl
parent857c09b04d7be1b016956e55a9f7b8118585c59b (diff)
downloadredis-e49c2a52922f1c86eb94b42206cb9d50e1aeb431.tar.gz
Pause cron to prevent premature shrinking in querybuf test (#12126)
Tests occasionally fail since #12000: ``` *** [err]: query buffer resized correctly when not idle in tests/unit/querybuf.tcl Expected 0 > 32768 (context: type eval line 11 cmd {assert {$orig_test_client_qbuf > 32768}} proc ::test) *** [err]: query buffer resized correctly with fat argv in tests/unit/querybuf.tcl query buffer should not be resized when client idle time smaller than 2s ``` The reason may be because we set hz to 100, querybuf shrinks before we count client_query_buffer. We avoid this problem by setting pause-cron to 1.
Diffstat (limited to 'tests/integration/psync2-master-restart.tcl')
0 files changed, 0 insertions, 0 deletions