Fix TLS cluster tests. (#7578)
Fix consistency test added in af5167b7f without considering TLS redis-cli configuration.
This commit is contained in:
parent
784ceeb90d
commit
bedf1b2126
@ -64,7 +64,10 @@ proc test_slave_load_expired_keys {aof} {
|
|||||||
kill_instance redis $replica_id
|
kill_instance redis $replica_id
|
||||||
|
|
||||||
set master_port [get_instance_attrib redis $master_id port]
|
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} {
|
while {[clock seconds] <= $end_time} {
|
||||||
#wait for $data_ttl seconds
|
#wait for $data_ttl seconds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user