Skip to content
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

Unit test failed testTCPClientDisconnectImmediately #11

Closed
zieckey opened this issue Mar 17, 2017 · 1 comment
Closed

Unit test failed testTCPClientDisconnectImmediately #11

zieckey opened this issue Mar 17, 2017 · 1 comment

Comments

@zieckey
Copy link
Collaborator

zieckey commented Mar 17, 2017

[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from GtestObjectClass_testTCPClientDisconnectImmediately
[ RUN ] GtestObjectClass_testTCPClientDisconnectImmediately.testTCPClientDisconnectImmediately
I0317 23:12:49.081928 26211 connector.cc:20] Connector::Connector this=0x17d0cf0 raddr=cmake.org:80
I0317 23:12:49.082002 26211 sockets.cc:103] ParseFromIPPort inet_pton(AF_INET 'cmake.org', ...) rc=0. cmake.org is not a valid IP address. Maybe it is a hostname.
I0317 23:12:49.082123 26211 connector.cc:46] Try to connect cmake.org:80 status=kDisconnected
I0317 23:12:49.082337 26211 connector.cc:58] The remote address cmake.org:80 is a host, try to resolve its IP address.
I0317 23:12:49.082495 26211 dns_resolver.cc:19] DNSResolver::Start tid=140274208405312 this=0x17d0fc8
I0317 23:12:49.083032 26211 dns_resolver.cc:70] DNSResolver::AsyncWait tid=140274208405312 this=0x17d0fc8
I0317 23:12:49.083163 26211 connector.cc:70] Cancel to connect cmake.org:80 status=kDNSResolving
I0317 23:12:49.083231 26211 dns_resolver.cc:89] DNSResolver::OnCanceled tid=140274208405312 this=0x17d0fc8
I0317 23:12:49.083343 26211 dns_resolver.cc:12] DNSResolver::~DNSResolver tid=140274208405312 this=0x17d0fc8
I0317 23:12:49.083474 26211 tcp_client.cc:73] Failed to connect to cmake.org:80. errno=9 Bad file descriptor
I0317 23:12:49.083529 26211 tcp_conn.cc:32] TCPConn::[] this=0x17d16d0 channel=0 fd=-1
I0317 23:12:49.083592 26211 invoke_timer.cc:10] InvokeTimer::InvokeTimer tid=140274208405312 this=0x17d0df0
I0317 23:12:49.083636 26211 invoke_timer.cc:24] InvokeTimer::Start tid=140274208405312 this=0x17d0df0 refcount=2
I0317 23:12:49.083734 26211 tcp_conn.cc:36] TCPConn::~TCPConn() name= this=0x17d16d0 channel=0 fd=-1 type=0 status=kDisconnected
W0317 23:12:49.083869 26211 dns_resolver.cc:129] dns resolve cancel, may be timeout
I0317 23:12:49.083904 26211 dns_resolver.cc:132] delete dns base

@zieckey
Copy link
Collaborator Author

zieckey commented Mar 18, 2017

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant