hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Fabbri (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13351) TestDFSClientSocketSize buffer size tests are flaky
Date Thu, 07 Jul 2016 22:57:11 GMT
Aaron Fabbri created HADOOP-13351:

             Summary: TestDFSClientSocketSize buffer size tests are flaky
                 Key: HADOOP-13351
                 URL: https://issues.apache.org/jira/browse/HADOOP-13351
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 2.8.0, 3.0.0-alpha1
            Reporter: Aaron Fabbri

{{TestDFSClientSocketSize}} has two tests that assert that a value that was set via {{java.net.Socket#setSendBufferSize}}
is equal to the value subsequently returned by {{java.net.Socket#getSendBufferSize}}.

These tests are flaky when we run them. The occasionally fail.

This is expected behavior, actually, because {{Socket#setSendBufferSize()}}[is only a hint|https://docs.oracle.com/javase/7/docs/api/java/net/Socket.html#setSendBufferSize(int)].
 (Similar to how the underlying libc {{setsockopt(SO_SNDBUF)}} works).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org

View raw message