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'
This commit is contained in:
Binbin 2023-02-15 13:46:56 +08:00 committed by GitHub
parent a705184522
commit 7d5382c0ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}