-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hiredis-test got FAILED when starting. #294
Comments
Can you be more specific? What did you run? What was the output? Which version? |
Okey, Testing against TCP connection (127.0.0.1:6379): Testing against Unix socket connection (/tmp/redis.sock): Testing against inherited fd (/tmp/redis.sock): |
The failed case is "
I think the cause is the |
Yes, I add a line "strcmp(c->errstr,"Temporary failure in name resolution") == 0 || " into the relevant code, then it is ok, thanks. |
@badboy: Personally, I don't think use " |
Do you have a local dns resolver that handles your |
Suggested at #294 (comment) This change also makes the test stop hanging for 10 to 30 seconds waiting for the resolver to timeout. Now the resolver immediately sees the hostname is bad and returns error without waiting for timeout.
#30 Returns error when host cannot be resolved: FAILED
and only one in all testings.
The text was updated successfully, but these errors were encountered: