Commit c642079a authored by Matt Stancliff's avatar Matt Stancliff
Browse files

Update test error message detection for dead hosts

Fixes #294
parent 74b7495f
......@@ -341,6 +341,7 @@ static void test_blocking_connection_errors(void) {
strcmp(c->errstr,"Can't resolve: idontexist.local") == 0 ||
strcmp(c->errstr,"nodename nor servname provided, or not known") == 0 ||
strcmp(c->errstr,"No address associated with hostname") == 0 ||
strcmp(c->errstr,"Temporary failure in name resolution") == 0 ||
strcmp(c->errstr,"no address associated with name") == 0));
redisFree(c);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment