Commit 31cb1f29 authored by Hiten P's avatar Hiten P

Change connection failure test to use an invalid hostname

- invalid hostname set to 0mq.is.the.best (naturally!)
- issue happens as other valid-like non-existent hostnames were
  redirected by buggy Cable/ISP DNS servers
parent 1dcedf7a
......@@ -40,7 +40,7 @@ int main (int argc, char *argv [])
int rc = zmq_connect (sock, "tcp://localhost:1234");
assert (rc == 0);
rc = zmq_connect (sock, "tcp://foobar123xyz:1234");
rc = zmq_connect (sock, "tcp://0mq.is.teh.best:1234");
assert (rc == -1);
assert (errno == EINVAL);
......
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