From 55c059e27078e86cd097707be67faf6280f5321b Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 25 Feb 2014 15:36:51 +0100 Subject: [PATCH] Sentinel test: add stub for unit 04. --- tests/sentinel-tests/04-slave-selection.tcl | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/sentinel-tests/04-slave-selection.tcl diff --git a/tests/sentinel-tests/04-slave-selection.tcl b/tests/sentinel-tests/04-slave-selection.tcl new file mode 100644 index 00000000..3d2ca648 --- /dev/null +++ b/tests/sentinel-tests/04-slave-selection.tcl @@ -0,0 +1,5 @@ +# Test slave selection algorithm. +# +# This unit should test: +# 1) That when there are no suitable slaves no failover is performed. +# 2) That among the available slaves, the one with better offset is picked.