summaryrefslogtreecommitdiff
path: root/tests/sentinel/run.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sentinel/run.tcl')
-rw-r--r--tests/sentinel/run.tcl12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/sentinel/run.tcl b/tests/sentinel/run.tcl
index 64c99c103..98c4c118b 100644
--- a/tests/sentinel/run.tcl
+++ b/tests/sentinel/run.tcl
@@ -13,8 +13,16 @@ proc main {} {
if {$::leaked_fds_file != ""} {
set ::env(LEAKED_FDS_FILE) $::leaked_fds_file
}
- spawn_instance sentinel $::sentinel_base_port $::instances_count [list "sentinel deny-scripts-reconfig no"] "../tests/includes/sentinel.conf"
- spawn_instance redis $::redis_base_port $::instances_count
+ spawn_instance sentinel $::sentinel_base_port $::instances_count {
+ "sentinel deny-scripts-reconfig no"
+ "enable-protected-configs yes"
+ "enable-debug-command yes"
+ } "../tests/includes/sentinel.conf"
+
+ spawn_instance redis $::redis_base_port $::instances_count {
+ "enable-protected-configs yes"
+ "enable-debug-command yes"
+ }
run_tests
cleanup
end_tests