mirror of https://mirror.osredm.com/root/redis.git
parent
2e8f8c9b0c
commit
7a7c60459e
|
@ -135,6 +135,26 @@ start_server {tags {"tracking"}} {
|
|||
assert {[lindex $reply 2] eq {proto 3}}
|
||||
}
|
||||
|
||||
test {HELLO without protover} {
|
||||
set reply [r HELLO 3]
|
||||
assert {[lindex $reply 2] eq {proto 3}}
|
||||
|
||||
set reply [r HELLO]
|
||||
assert {[lindex $reply 2] eq {proto 3}}
|
||||
|
||||
set reply [r HELLO]
|
||||
assert {[lindex $reply 2] eq {proto 3}}
|
||||
|
||||
set reply [r HELLO 2]
|
||||
assert {[lindex $reply 2] eq {proto 2}}
|
||||
|
||||
set reply [r HELLO]
|
||||
assert {[lindex $reply 2] eq {proto 2}}
|
||||
|
||||
set reply [r HELLO]
|
||||
assert {[lindex $reply 2] eq {proto 2}}
|
||||
}
|
||||
|
||||
test {RESP3 based basic invalidation} {
|
||||
r CLIENT TRACKING off
|
||||
r CLIENT TRACKING on
|
||||
|
|
Loading…
Reference in New Issue