diff options
author | Tom Jones <thj@freebsd.org> | 2024-02-07 13:34:56 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2024-03-26 15:12:48 +0000 |
commit | b3ee84d0bb531f0600e3c038e78680c083e5bb77 (patch) | |
tree | b87c41d043352ba90fb8b42748146990f6235ea4 /.clang-format | |
parent | 26eec75f2b30f4c03b4ca671165cd0d4823f0175 (diff) |
tests: Add a socket timeout
On FreeBSD a races seems to occur between the states socket connecting
and VPP accepting the connection and calling getpeername. The recv_fd
call here will fail with no fds before the VPP process has time to
handle the connection.
Introducing a socket timeout removes this failure on FreeBSD and allows
the test suite to run. Add a timeout on all platforms to try to avoid
this race everywhere.
Type: improvement
Change-Id: I96f77f924a9491222bc213b534cb17001d081f3f
Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions