mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Cluster test: unit 03, check epochs correctness.
This commit is contained in:
parent
4fd35a28d3
commit
64e6d7af47
@ -89,3 +89,9 @@ while {[incr iterations -1]} {
|
|||||||
assert {$err eq $val}
|
assert {$err eq $val}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test "Post condition: current_epoch >= my_epoch everywhere" {
|
||||||
|
foreach_redis_id id {
|
||||||
|
assert {[CI $id cluster_current_epoch] >= [CI $id cluster_my_epoch]}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user