mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
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
This commit is contained in:
parent
1dcedf7ab1
commit
31cb1f297d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user