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

ASF subversion and git services commented on PROTON-2461:
---------------------------------------------------------

Commit 93960f1e2129cf98200bdb2ab31e9ad868f71f61 in qpid-proton's branch 
refs/heads/main from Clifford Jansen
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=93960f1e2 ]

PROTON-2461: epoll proactor change socket read() to recv()


> c-proactor-test is sensitive to the system language setting
> -----------------------------------------------------------
>
>                 Key: PROTON-2461
>                 URL: https://issues.apache.org/jira/browse/PROTON-2461
>             Project: Qpid Proton
>          Issue Type: Test
>          Components: build
>    Affects Versions: proton-c-0.36.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> The test checks for the string "refused" in the error message. That part of 
> the string is produced by the operating system, and it takes into account 
> locales. In the failure below, the message is printed in Czech (saying 
> "odmitl" instead of "refused").
> The test environment should somehow set English locales, or docs should note 
> that it is necessary and how to do the action manually.
> {noformat}
> 3: 
> -------------------------------------------------------------------------------
> 3: proactor_errors
> 3: 
> -------------------------------------------------------------------------------
> 3: C:\Users\Vitorio\CLionProjects\qpid-proton\c\tests\proactor_test.cpp(305)
> 3: 
> ...............................................................................
> 3: 
> 3: C:\Users\Vitorio\CLionProjects\qpid-proton\c\tests\proactor_test.cpp(348): 
> FAILED:
> 3:   CHECK_THAT( *h.last_condition, cond_matches("proton:io", "refused") )
> 3: with expansion:
> 3:   pn_condition{"proton:io", "Vzd�len� po��ta� odm�tl s�ov� p�ipojen�.  -
> 3:   connect to  :58231"} matches "proton:io", "refused"
> 3: 
> 3: 
> ===============================================================================
> 3: test cases:  15 |  14 passed | 1 failed
> 3: assertions: 252 | 251 passed | 1 failed
> 3: 
> Failed
> {noformat}
> The test is
> {code}
>   /* Connect with no listener */
>   p.connect(laddr);
>   REQUIRE_RUN(p, PN_TRANSPORT_ERROR);
>   CHECK_THAT(*h.last_condition, cond_matches("proton:io", "refused"));
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to