[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