diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-09-17 01:19:29 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-22 16:53:35 +0200 |
commit | fafdda083f91844bfba2b62aa59f03d0ca1a0227 (patch) | |
tree | 6b89c6a69cf0912063190041bd0424a11895d76a /test/lib/setup | |
parent | ae51d2dac108e8daa475e4d6c1a6a5ebbb3fa759 (diff) | |
download | passt-fafdda083f91844bfba2b62aa59f03d0ca1a0227.tar passt-fafdda083f91844bfba2b62aa59f03d0ca1a0227.tar.gz passt-fafdda083f91844bfba2b62aa59f03d0ca1a0227.tar.bz2 passt-fafdda083f91844bfba2b62aa59f03d0ca1a0227.tar.lz passt-fafdda083f91844bfba2b62aa59f03d0ca1a0227.tar.xz passt-fafdda083f91844bfba2b62aa59f03d0ca1a0227.tar.zst passt-fafdda083f91844bfba2b62aa59f03d0ca1a0227.zip |
test/passt_in_ns: Consistent sleep commands before starting socat client
There are some 'sleep 1' commands between starting the socat server
and its corresponding client to avoid races due to the server not
being ready as we start sending data.
However, those don't cover all the cases where we might need them,
and in some cases the sleep command actually ended up being before
the server even starts.
This fixes occasional failures in TCP and UDP simple transfer tests,
that became apparent with the new command dispatch mechanism.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/setup')
0 files changed, 0 insertions, 0 deletions