1
0
mirror of https://passt.top/passt synced 2024-12-22 05:35:23 +00:00
passt/test/passt_in_ns
David Gibson 58e6d68599 test: Clarify test for spliced inbound transfers
The tests in pasta/tcp and pasta/udp for inbound transfers have the server
listening within the namespace explicitly bound to 127.0.0.1 or ::1.  This
only works because of the behaviour of inbound splice connections, which
always appear with both source and destination addresses as loopback in
the namespace.  That's not an inherent property for "spliced" connections
and arguably an undesirable one.  Also update the test names to make it
clearer that these tests are expecting to exercise the "splice" path.

Interestingly this was already correct for the equivalent passt_in_ns/*,
although we also update the test names for clarity there.

Note that there are similar issues in some of the podman tests, addressed
in https://github.com/containers/podman/pull/24064

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2024-10-18 20:28:00 +02:00
..
dhcp test: Wait for DAD on DHCPv6 addresses 2024-10-18 20:27:51 +02:00
icmp passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
shutdown passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
tcp test: Clarify test for spliced inbound transfers 2024-10-18 20:28:00 +02:00
udp test: Clarify test for spliced inbound transfers 2024-10-18 20:28:00 +02:00