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

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

Commit d3c113548146b56cdd8b2a31c2d4dd7ba5dddbfd in qpid-proton's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=d3c1135 ]

PROTON-1930: [cpp] Fix race condition in container_test.cpp

Test was starting container, opening connection and then checking for
["start", "open"] sequence to be set by handlers.

Sometimes the sequence was instead ["open", "start"], which is legal since the
events are generated in different handler contexts.

Fixed by starting container, waiting for "start", opening connection, then
waiting for "open"


> [cpp] Fix race condition in container_test.cpp
> ----------------------------------------------
>
>                 Key: PROTON-1930
>                 URL: https://issues.apache.org/jira/browse/PROTON-1930
>             Project: Qpid Proton
>          Issue Type: Test
>          Components: cpp-binding
>    Affects Versions: proton-c-0.25.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>             Fix For: proton-c-0.26.0
>
>
> Sporadic test failures in container_test.cpp  test_mt_stop, test crashes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to