1
0
Fork 0
mirror of https://passt.top/passt synced 2025-05-30 04:45:34 +02:00
passt/test/lib
Stefano Brivio a1e48a02ff test: Add migration tests
PCAP=1 ./run migrate/bidirectional gives an overview of how the
whole thing is working.

Add 12 tests in total, checking basic functionality with and without
flows in both directions, with and without sockets in half-closed
states (both inbound and outbound), migration behaviour under traffic
flood, under traffic flood with > 253 flows, and strict checking of
sequences under flood with ramp patterns in both directions.

These tests need preparation and teardown for each case, as we need
to restore the source guest in its own context and pane before we can
test again. Eventually, we could consider alternating source and
target so that we don't need to restart from scratch every time, but
that's beyond the scope of this initial test implementation.

Trick: './run migrate/*' runs all the tests with preparation and
teardown steps.

Co-authored-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2025-02-17 08:29:36 +01:00
..
context test: Use "nstool exec" to slightly simplify tests 2023-04-08 01:12:08 +02:00
layout test: Add migration tests 2025-02-17 08:29:36 +01:00
layout_ugly passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
perf_report test: Add tests for passt in vhost-user mode 2024-11-27 16:49:21 +01:00
setup test: Add migration tests 2025-02-17 08:29:36 +01:00
setup_ugly test: Add tests for passt in vhost-user mode 2024-11-27 16:49:21 +01:00
term test: Pass TRACE from run_term() into ./run from_term 2024-10-10 05:25:19 +02:00
test test: Add migration tests 2025-02-17 08:29:36 +01:00
util passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
video passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00