Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/19337
Change subject: [util] introduce WaitFor{Tcp,Udp}BindAtPort()
......................................................................
[util] introduce WaitFor{Tcp,Udp}BindAtPort()
This patch introduces a new utility functions to be used in tests:
* WaitForTcpBindAtPort()
* WaitForUdpBindAtPort()
They are similar to already existing WaitFor{Tcp,Udp}Bind(), but have
semantics of waiting while some process binds to the specified port.
The difference that in these new cases the port number is known
beforehand, and it doesn't matter which process binds to the port.
This functionality will be used in a follow-up patch.
Change-Id: Ia466bf20040b35359d95fd66971e4af668d081e7
---
M src/kudu/util/test_util.cc
M src/kudu/util/test_util.h
2 files changed, 90 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/37/19337/1
--
To view, visit http://gerrit.cloudera.org:8080/19337
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia466bf20040b35359d95fd66971e4af668d081e7
Gerrit-Change-Number: 19337
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>