Fix TLS cluster tests. (#7578)

Fix consistency test added in af5167b7f without considering TLS
redis-cli configuration.

(cherry picked from commit bedf1b21269dfb8afb584bc24585023af8b2a208)
This commit is contained in:
Yossi Gottlieb 2020-07-28 14:04:06 +03:00 committed by Oran Agra
parent 1c05b87e30
commit c68b3908a6

View File

@ -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