[buildproxywrap] wait for socket before command

Wait for socket to exist and be connect-able
before passing control to the wrapped command.

socket_sink.py: Unit-tests now need a fake server process
that creates a socket for listening, mimicking the behavior of socat.

Fixed: 132480
Change-Id: Ib9828f1a2530f1a367a881b35d287d81a16c2b3d
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/906182
Reviewed-by: Anthony Fandrianto <atyfto@google.com>
Commit-Queue: David Fang <fangism@google.com>
Reviewed-by: Rahul Bangar <rahulbn@google.com>
4 files changed
tree: dd8996485a3cf49869500f0936d1b8fe50fe6fb0
  1. artifacts/
  2. buildbucket/
  3. checkout/
  4. cmd/
  5. execution/
  6. flagutil/
  7. functools/
  8. gerrit/
  9. gitiles/
  10. monorail/
  11. rpcutil/
  12. scripts/
  13. third_party/
  14. vendor/
  15. .gitignore
  16. AUTHORS
  17. go.mod
  18. go.sum
  19. LICENSE
  20. manifest
  21. PATENTS
  22. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.