improvement of a test in unit/pause.tcl (#9868)

Co-authored-by: xiaolei <xiaolei@91jkys.com>
This commit is contained in:
leishiao 2021-12-08 09:41:11 +08:00 committed by GitHub
parent 0b26e389d8
commit 08ed44d722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,8 +73,8 @@ start_server {tags {"pause network"}} {
$rd MULTI
assert_equal [$rd read] "OK"
$rd SET FOO BAR
r client PAUSE 100000000 WRITE
assert_equal [$rd read] "QUEUED"
r client PAUSE 100000000 WRITE
$rd EXEC
wait_for_blocked_clients_count 1 50 100
r client unpause