Fix TLS cluster tests. (#7578)

Fix consistency test added in af5167b7f without considering TLS
redis-cli configuration.
This commit is contained in:
Yossi Gottlieb 2020-07-28 14:04:06 +03:00 committed by GitHub
parent 784ceeb90d
commit bedf1b2126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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