From bedf1b21269dfb8afb584bc24585023af8b2a208 Mon Sep 17 00:00:00 2001 From: Yossi Gottlieb Date: Tue, 28 Jul 2020 14:04:06 +0300 Subject: [PATCH] Fix TLS cluster tests. (#7578) Fix consistency test added in af5167b7f without considering TLS redis-cli configuration. --- tests/cluster/tests/14-consistency-check.tcl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/cluster/tests/14-consistency-check.tcl b/tests/cluster/tests/14-consistency-check.tcl index a43725ebc..d3b3052f3 100644 --- a/tests/cluster/tests/14-consistency-check.tcl +++ b/tests/cluster/tests/14-consistency-check.tcl @@ -64,7 +64,10 @@ proc test_slave_load_expired_keys {aof} { kill_instance redis $replica_id set master_port [get_instance_attrib redis $master_id port] - exec ../../../src/redis-cli -h 127.0.0.1 -p $master_port debug sleep [expr $data_ttl+3] > /dev/null & + exec ../../../src/redis-cli \ + -h 127.0.0.1 -p $master_port \ + {*}[rediscli_tls_config "../../../tests"] \ + debug sleep [expr $data_ttl+3] > /dev/null & while {[clock seconds] <= $end_time} { #wait for $data_ttl seconds