Unverified Commit 7d5382c0 authored by Binbin's avatar Binbin Committed by GitHub
Browse files

Remove wrong code in list pot timeout test (#11805)

In #9373, actually need to replace `$rd $pop blist1{t} blist2{t} 1`
with `bpop_command_two_key $rd $pop blist1{t} blist2{t} 1` but forgot
to delete the latter.

This doesn't affect the test, because the later assert_error "WRONGTYPE"
is expected (and right). And if we read $rd again, it will get the
wrong result, like 'ERR unknown command 'BLMPOP_LEFT' | 'BLMPOP_RIGHT'
parent a7051845
......@@ -1278,7 +1278,6 @@ foreach {pop} {BLPOP BLMPOP_LEFT} {
r del blist1{t} blist2{t}
r set blist2{t} nolist{t}
bpop_command_two_key $rd $pop blist1{t} blist2{t} 1
$rd $pop blist1{t} blist2{t} 1
assert_error "WRONGTYPE*" {$rd read}
$rd close
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment