mirror of https://mirror.osredm.com/root/redis.git
Fix TLS cluster tests. (#7578)
Fix consistency test added inaf5167b7f
without considering TLS redis-cli configuration. (cherry picked from commitbedf1b2126
)
This commit is contained in:
parent
1c05b87e30
commit
c68b3908a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue