Skip to content

Commit

Permalink
fixup! test: add AF_XDP integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuetuopay committed Feb 24, 2023
1 parent a96b1fc commit 91f47ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/integration-test/src/tests/xdp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ fn af_xdp() {
// (valid for all further unsafe)
unsafe { fq.produce(&descs) };

// Expected to fail as our probe redirects all packets to the socket
let sock = UdpSocket::bind("127.0.0.1:0").unwrap();
let port = sock.local_addr().unwrap().port();
sock.send_to(b"hello AF_XDP", "127.0.0.1:1777").unwrap();
Expand Down

0 comments on commit 91f47ed

Please sign in to comment.