add a test
Signed-off-by: xhe <xw897002528@gmail.com>
This commit is contained in:
parent
2e8f8c9b0c
commit
7a7c60459e
@ -135,6 +135,26 @@ start_server {tags {"tracking"}} {
|
|||||||
assert {[lindex $reply 2] eq {proto 3}}
|
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} {
|
test {RESP3 based basic invalidation} {
|
||||||
r CLIENT TRACKING off
|
r CLIENT TRACKING off
|
||||||
r CLIENT TRACKING on
|
r CLIENT TRACKING on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user