Cluster test: unit 03, check epochs correctness.

This commit is contained in:
antirez 2014-06-10 15:46:36 +02:00
parent 4fd35a28d3
commit 64e6d7af47

View File

@ -89,3 +89,9 @@ while {[incr iterations -1]} {
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]}
}
}