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

this test when run with valgrind on github actions takes 160 seconds

(cherry picked from commit 254c96255420e950bcad1a46bc4f8617b4373797)
This commit is contained in:
Oran Agra 2020-07-14 18:04:08 +03:00
parent 4780cc5efa
commit 05f8975d21

View File

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