Ashwani Raina has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22882
Change subject: [socket] Fix test failure caused due to unsupported socket option ...................................................................... [socket] Fix test failure caused due to unsupported socket option Socket API (SetSockOpt) doesn't support SO_REUSEPORT for a Unix domain socket. Due to this, following tests fail: - client-test.TestConnectViaUnixSocket - dns_alias-itest.TestBasic The patch skips setting of socket option (i.e. SO_REUSEPORT) on a Unix domain sockets. The patch also removes macro check for SO_REUSEPORT flag because this flag has been available since kernel version 3.9 and was backported to 2.6 versions for some Linux distros like RHEL/CentOS. Change-Id: Ice00b1c4fd1df78fa84c3dd2a79c968a4a91cc21 --- M src/kudu/rpc/messenger.cc M src/kudu/util/net/socket.cc 2 files changed, 7 insertions(+), 9 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/82/22882/1 -- To view, visit http://gerrit.cloudera.org:8080/22882 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ice00b1c4fd1df78fa84c3dd2a79c968a4a91cc21 Gerrit-Change-Number: 22882 Gerrit-PatchSet: 1 Gerrit-Owner: Ashwani Raina <[email protected]>
