public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] test: Fix two issues made apparent by new command dispatch
@ 2022-09-16 23:55 Stefano Brivio
  2022-09-16 23:55 ` [PATCH 1/2] test/perf: Check for /sbin/sysctl with which(1), not simply sysctl Stefano Brivio
  2022-09-16 23:55 ` [PATCH 2/2] test/passt_in_ns: Consistent sleep commands before starting socat client Stefano Brivio
  0 siblings, 2 replies; 14+ messages in thread
From: Stefano Brivio @ 2022-09-16 23:55 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

This is based on pending series by David, but they're logically separated
fixes, so I'm sending them as a different series.

Patch 2/2 adds some 'sleep 1' commands that were previously missing, which
actually goes against the intention of speeding up those tests. However,
without those, a number of tests fail quite frequently due to races
between starting server and client, and I could never get a clean run
with the new command dispatch mechanism otherwise.

We can probably find a more elegant (and time-saving) mechanism to
make sure the server is ready (based e.g. on parsing its output), but
at the moment I'm just trying to make the test suite work again for
me in its entirety.

Stefano Brivio (2):
  test/perf: Check for /sbin/sysctl with which(1), not simply sysctl
  test/passt_in_ns: Consistent sleep commands before starting socat
    client

 test/passt_in_ns/tcp | 29 +++++++++++++++++++++++++----
 test/passt_in_ns/udp | 18 ++++++++++++++++--
 test/perf/passt_tcp  |  4 ++--
 test/perf/passt_udp  |  2 +-
 test/perf/pasta_tcp  |  2 +-
 5 files changed, 45 insertions(+), 10 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-09-19  8:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-16 23:55 [PATCH 0/2] test: Fix two issues made apparent by new command dispatch Stefano Brivio
2022-09-16 23:55 ` [PATCH 1/2] test/perf: Check for /sbin/sysctl with which(1), not simply sysctl Stefano Brivio
2022-09-17  3:27   ` David Gibson
2022-09-17  8:44     ` Stefano Brivio
2022-09-17  9:51       ` David Gibson
2022-09-16 23:55 ` [PATCH 2/2] test/passt_in_ns: Consistent sleep commands before starting socat client Stefano Brivio
2022-09-17  3:32   ` David Gibson
2022-09-17  8:44     ` Stefano Brivio
2022-09-17 10:19       ` David Gibson
2022-09-17 11:28         ` Stefano Brivio
2022-09-19  1:48           ` David Gibson
2022-09-19  6:41             ` Stefano Brivio
2022-09-19  7:00               ` David Gibson
2022-09-19  8:24                 ` Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).