[
https://issues.apache.org/jira/browse/HADOOP-8980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507735#comment-13507735
]
Xuan Gong commented on HADOOP-8980:
-----------------------------------
I agree with you. The test failure, i think, is because the race condition. But
I think the race condition happens when the client try to set up the I/O stream
with the server. It will send the headers to the server and start the
connection thread that waits for response. The code is at Client.java, function
setupIOstreams(), if we add the thread.sleep(200L) at the end of code (between
start() and return), we can make the test pass. So, I think, the test failure
because it tried to write before the I/O stream betweem server and client is
set up.
> TestRPC fails on Windows
> ------------------------
>
> Key: HADOOP-8980
> URL: https://issues.apache.org/jira/browse/HADOOP-8980
> Project: Hadoop Common
> Issue Type: Bug
> Components: ipc
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
> This failure may indicate a difference in socket handling on Windows.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira