redis-cli tests, fix valgrind timing issue (#7519)

this test when run with valgrind on github actions takes 160 seconds
This commit is contained in:
Oran Agra 2020-07-14 18:04:08 +03:00 committed by GitHub
parent 24b6f62741
commit 8a14ce8634

View File

@ -241,7 +241,7 @@ start_server {tags {"cli"}} {
test_nontty_cli "Connecting as a replica" { test_nontty_cli "Connecting as a replica" {
set fd [open_cli "--replica"] set fd [open_cli "--replica"]
wait_for_condition 200 500 { wait_for_condition 500 500 {
[string match {*slave0:*state=online*} [r info]] [string match {*slave0:*state=online*} [r info]]
} else { } else {
fail "redis-cli --replica did not connect" fail "redis-cli --replica did not connect"