Thomas Tauber-Marshall has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14997
Change subject: IMPALA-8501: Fix race condition on port in RpcMgrTest ...................................................................... IMPALA-8501: Fix race condition on port in RpcMgrTest RpcMgrTest previously would choose a random, unused port when starting and then eventually start a krpc service on the port. This resulted in a race condition where the port could be taken by another process between when it was chosen and when RpcMgrTest actually used it, causing RpcMgrTest to fail. This patch significantly reduces the probability of such an error happening by choosing the port immediately before it is used. Change-Id: I841196f8557f29816f5f2960f36fc7772233b975 --- M be/src/rpc/rpc-mgr-test.h 1 file changed, 1 insertion(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/97/14997/1 -- To view, visit http://gerrit.cloudera.org:8080/14997 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I841196f8557f29816f5f2960f36fc7772233b975 Gerrit-Change-Number: 14997 Gerrit-PatchSet: 1 Gerrit-Owner: Thomas Tauber-Marshall <[email protected]>
