Sentinel: fix reconnect test timing issue (#10424)
Sentinel: fix reconnect test timing issue (#10424)

We need to wait for `sentinelTimer` to kick in, and then trigger the reconnect.

As for another change, we should better call `server_set_password` before calling SENTINEL SET auth-pass.

Fixes problem introeuced in #10400
oranagra/redis,yossigo/redis,PKRoma/redis,neomantra/redis,charsyam/redis,charsyam/redis,ofirluzon/redis,yossigo/redis,PKRoma/redis,yossigo/redis,neomantra/redis,neomantra/redis,ofirluzon/redis,soloestoy/redis,ofirluzon/redis,yossigo/redis,oranagra/redis,oranagra/redis,neomantra/redis,antirez/redis,charsyam/redis,ofirluzon/redis,charsyam/redis,oranagra/redis,charsyam/redis,yossigo/redis,soloestoy/redis,antirez/redis,PKRoma/redis,ofirluzon/redis,antirez/redis,soloestoy/redis,soloestoy/redis,neomantra/redis,soloestoy/redis,PKRoma/redis,oranagra/redis,antirez/redis,PKRoma/redis