Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
254c9625
Unverified
Commit
254c9625
authored
Jul 14, 2020
by
Oran Agra
Committed by
GitHub
Jul 14, 2020
Browse files
redis-cli tests, fix valgrind timing issue (#7519)
this test when run with valgrind on github actions takes 160 seconds
parent
8128d397
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/integration/redis-cli.tcl
View file @
254c9625
...
@@ -241,7 +241,7 @@ start_server {tags {"cli"}} {
...
@@ -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
2
00 500
{
wait_for_condition
5
00 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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment