diff options
author | Matt Stancliff <matt@genges.com> | 2015-01-08 17:26:22 -0500 |
---|---|---|
committer | Matt Stancliff <matt@genges.com> | 2015-01-08 17:26:22 -0500 |
commit | c642079a8055a84be770a6eb44e66bcbb42820bd (patch) | |
tree | c4e4387ced6172f96e347205604bc123cc102901 | |
parent | 74b7495f9308f2c183ff24fa482c5304a444cd90 (diff) | |
download | hiredict-c642079a8055a84be770a6eb44e66bcbb42820bd.tar.xz |
Update test error message detection for dead hosts
Fixes #294
-rw-r--r-- | test.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |