diff options
Diffstat (limited to 'tests/cluster/tests/00-base.tcl')
-rw-r--r-- | tests/cluster/tests/00-base.tcl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/cluster/tests/00-base.tcl b/tests/cluster/tests/00-base.tcl new file mode 100644 index 000000000..e3b88e3e8 --- /dev/null +++ b/tests/cluster/tests/00-base.tcl @@ -0,0 +1,16 @@ +# Check the basic monitoring and failover capabilities. + +source "../tests/includes/init-tests.tcl" + +if {$::simulate_error} { + test "This test will fail" { + fail "Simulated error" + } +} + +test "Cluster nodes are reachable." { + foreach_redis_id id { + # Every node should just know itself. + assert {[R $id ping] eq {PONG}} + } +} |