thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4917) The print message of running UnitTests script may be wrong.
Date Sun, 22 Sep 2019 09:48:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935274#comment-16935274
] 

Jens Geyer commented on THRIFT-4917:
------------------------------------

Here's the relevant code:

{code}
std::cout << "An error message from getaddrinfo on the console is expected:" <<
std::endl;
TServerSocket sock2("257.258.259.260", 0);
BOOST_CHECK_THROW(sock2.listen(), TTransportException);
sock2.close();
{code}

Looks to me like it exactly does what it tries to test. I guess we can close this as "not
an issue".

> The print message of running UnitTests script may be wrong. 
> ------------------------------------------------------------
>
>                 Key: THRIFT-4917
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4917
>             Project: Thrift
>          Issue Type: Test
>          Components: C++ - Library
>    Affects Versions: 0.12.0
>         Environment: Ubuntu = 16.04
> GCC = 5.4.0
> GNU Make = 4.1
>            Reporter: zhouzhongyuan
>            Priority: Minor
>
> When I run UnitTests script after compilation, the print message as following.
>  
> {code:java}
> Running 54 test cases...
> An error message from getaddrinfo on the console is expected:
> Thrift: Tue Aug 6 09:59:00 2019 getaddrinfo -2: Name or service not known
> *** No errors detected 
> {code}
>  
> In the print message, an error message is occurred, but the result is no errors.
> So, I think the print-result message may be wrong. How about you?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message