Hao Hao has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11898
Change subject: De-flake sentry_client-test and sentry_authz_provider-test ...................................................................... De-flake sentry_client-test and sentry_authz_provider-test Currently, sentry_client-test and sentry_authz_provider-test often fail with 'BindException: Address already in use'. Because Sentry uses a default port number '8038' if 'sentry.service.server.rpc-port' is not set. This commit sets this configuration with port 0 to ensure the mini Sentry service can always find a free port to bound to. When running sentry_client-test and sentry_authz_provider-test in parallel on the same machine: before the change, one of the tests failed with BindException; after the change, both tests passed without any errors. Change-Id: I0e30ce88b7c2ab4afe451c50e13ef739237709e0 --- M src/kudu/sentry/mini_sentry.cc M src/kudu/sentry/mini_sentry.h 2 files changed, 13 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/98/11898/1 -- To view, visit http://gerrit.cloudera.org:8080/11898 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I0e30ce88b7c2ab4afe451c50e13ef739237709e0 Gerrit-Change-Number: 11898 Gerrit-PatchSet: 1 Gerrit-Owner: Hao Hao <[email protected]>
