Addmissing test file
Former-commit-id: fb2bdf7d05e27b15dcb53b09d6820416a99a3ba7
This commit is contained in:
parent
a5a736be73
commit
6d25bd9f47
12
tests/unit/replication.tcl
Normal file
12
tests/unit/replication.tcl
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
start_server {tags {"repl"}} {
|
||||||
|
test "incr of expired key on replica doesn't cause a crash" {
|
||||||
|
r debug force-master yes
|
||||||
|
r set testkey 1
|
||||||
|
r pexpire testkey 1
|
||||||
|
after 500
|
||||||
|
r incr testkey
|
||||||
|
r incr testkey
|
||||||
|
r debug force-master no
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user