Hello Dan Burkert, Adar Dembo,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/5156
to review the following change.
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
---
M src/kudu/security/test/mini_kdc.cc
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/56/5156/1
--
To view, visit http://gerrit.cloudera.org:8080/5156
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I88c0459d4b8ce0371f7cdf5cc38879ecc8cbf5ff
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>