mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Added an SMOVE test where src and dest key are the same.
This commit is contained in:
parent
e51a218aaa
commit
88f77a2b7e
@ -317,6 +317,13 @@ start_server {
|
||||
assert_error "ERR*wrong kind*" {r smove myset2 x foo}
|
||||
}
|
||||
|
||||
test "SMOVE with identical source and destination" {
|
||||
r del set
|
||||
r sadd set a b c
|
||||
r smove set set b
|
||||
lsort [r smembers set]
|
||||
} {a b c}
|
||||
|
||||
tags {slow} {
|
||||
test {intsets implementation stress testing} {
|
||||
for {set j 0} {$j < 20} {incr j} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user