Todd Lipcon has submitted this change and it was merged. Change subject: Fix flakiness of MiniKDC ......................................................................
Fix flakiness of MiniKDC We use 'lsof' to find the ephemeral port assigned to the MiniKDC, but we weren't passing the '-P' flag which inhibits the conversion of numeric port numbers to service names. As such, occasionally the MiniKDC would be assigned some port which matches a named service in /etc/services and result in lsof output like: p934 f7 n*:mediabox (mediabox is registered as port 46999) This would cause the port number parsing to fail, making tests ~1% flaky. Passing the '-P' flag inhibits the conversion of port numbers to port names. Change-Id: I88c0459d4b8ce0371f7cdf5cc38879ecc8cbf5ff Reviewed-on: http://gerrit.cloudera.org:8080/5156 Reviewed-by: Jordan Birdsell <jtbirds...@apache.org> Tested-by: Kudu Jenkins --- M src/kudu/security/test/mini_kdc.cc 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jordan Birdsell: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/5156 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I88c0459d4b8ce0371f7cdf5cc38879ecc8cbf5ff Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Dan Burkert <danburk...@apache.org> Gerrit-Reviewer: Jordan Birdsell <jtbirds...@apache.org> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <t...@apache.org>