[
https://issues.apache.org/jira/browse/PROTON-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417504#comment-15417504
]
ASF subversion and git services commented on PROTON-1280:
---------------------------------------------------------
Commit 486d88576d81d5d12751e2c9096c49152127bf79 in qpid-proton's branch
refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=486d885 ]
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]