1
0
Fork 0
mirror of https://passt.top/passt synced 2025-05-27 11:55:59 +02:00
passt/test/migrate
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
..
basic test: Add migration tests 2025-02-17 08:29:36 +01:00
basic_fin test: Add migration tests 2025-02-17 08:29:36 +01:00
bidirectional test: Add migration tests 2025-02-17 08:29:36 +01:00
bidirectional_fin test: Add migration tests 2025-02-17 08:29:36 +01:00
iperf3_bidir6 test: Add migration tests 2025-02-17 08:29:36 +01:00
iperf3_in4 test: Add migration tests 2025-02-17 08:29:36 +01:00
iperf3_in6 test: Add migration tests 2025-02-17 08:29:36 +01:00
iperf3_many_out6 test: Add migration tests 2025-02-17 08:29:36 +01:00
iperf3_out4 test: Add migration tests 2025-02-17 08:29:36 +01:00
iperf3_out6 test: Add migration tests 2025-02-17 08:29:36 +01:00
rampstream_in test: Add migration tests 2025-02-17 08:29:36 +01:00
rampstream_out test: Add migration tests 2025-02-17 08:29:36 +01:00