redict/tests/sentinel-tests/00-base.tcl

10 lines
225 B
Tcl

test "Sentinels aren't monitoring any master" {
foreach_sentinel_id id {
assert {[S $id sentinel masters] eq {}}
}
}
test "Sentinels can start monitoring a master" {
create_redis_master_slave_cluster 3
}