redict/tests/sentinel
Binbin 1013cbeae2
Fix sentinel disconnect test timing issue after auth-pass change (#10784)
There is a timing issue reported in test-sanitizer-address (gcc):
```
Sentinels (re)connection following SENTINEL SET mymaster auth-pass:
FAILED: Expected to be disconnected from master due to wrong password
```

The reason we reach it, is because the test is fast enough to modify
auth-pass and test sentinel connection status with the server,
before its scheduled operation got the chance to update connection
status with the server.

We need to wait for `sentinelTimer` to kick in, and then update the
connection status. Replace condition with wait_for_condition on the check.

Fix just like #10480 did
2022-05-29 08:38:38 +03:00
..
tests Fix sentinel disconnect test timing issue after auth-pass change (#10784) 2022-05-29 08:38:38 +03:00
tmp Sentinel test files / directories layout improved. 2014-04-24 11:08:22 +02:00
run.tcl Fix recent daily CI test failures (#9966) 2021-12-20 12:31:13 +02:00