diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2025-02-13 23:14:14 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-02-17 08:29:36 +0100 |
commit | a1e48a02ff3550eb7875a7df6726086e9b3a1213 (patch) | |
tree | 8a2d0fd643e41e4722a23858b426b505c52ab4f5 /vu_common.c | |
parent | 89ecf2fd40adab549bdf25cdb68996f56d67b13e (diff) | |
download | passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar.gz passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar.bz2 passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar.lz passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar.xz passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar.zst passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.zip |
test: Add migration tests2025_02_17.a1e48a0
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>
Diffstat (limited to 'vu_common.c')
0 files changed, 0 insertions, 0 deletions