You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test/e2e: improve pcap interface detection with route verification (#1021)
Extract shared get_default_interface, get_route_interface, and
verify_traffic_interface functions into common.sh to eliminate
duplicate definitions across tls_e2e_test, tls_pcap_advanced_test,
and gotls_advanced_test scripts.
verify_traffic_interface uses 'ip route get' to confirm the kernel
actually routes traffic to the test target through the detected
interface, correcting DEFAULT_IFACE when a mismatch is found
(e.g., multi-homed hosts, Docker bridges, VPN tunnels).
This fixes the "[303] nothing captured" error on GitHub Actions
runners where the default route interface may differ from the
interface actually used for outbound traffic.
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments