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

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

Commit ec38ff0b99518a6453617d3285523ad38f0f4a30 in qpid-proton's branch 
refs/heads/0.14.x from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=ec38ff0 ]

PROTON-1280: Fix Messenger Selectable test
- I hate this kind of fix!
- We now have a very short time out in select instead of 0 timeout
  (polling behaviour) so that we don't finish if it takes a little time to
  receive an end of stream on one of our sockets.
- It seems that on Linux you reliably get the end of stream on the select()
  call immediately after closing the socket at the other end locally
- But on FreeBSD you usually don't get the EOS immediately, you need to enter
  the kernel first: this was causing the test to fail on FreeBSD.


> Messenger python tests fail on FreeBSD because of bad assumption
> ----------------------------------------------------------------
>
>                 Key: PROTON-1280
>                 URL: https://issues.apache.org/jira/browse/PROTON-1280
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.12.0
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>
> It seems that on Linux you reliably get the end of stream on the select()  
> call immediately after closing the socket at the other end locally. But on 
> FreeBSD you usually don't get the EOS immediately, you need to enter the 
> kernel somehow first, this is causing the test to fail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to