integration/xdp: increase timeout to 60 seconds

There's absolutely no reason to have a short timeout here. This has
resulted in at least one flake:
https://github.com/aya-rs/bpf-linker/actions/runs/6384472390/job/17327196576.
pull/804/head
Tamir Duberstein 1 year ago
parent 062ebfdc68
commit 81268b7ac1
No known key found for this signature in database

@ -86,7 +86,7 @@ fn cpumap_chain() {
let sock = UdpSocket::bind("127.0.0.1:0").unwrap(); let sock = UdpSocket::bind("127.0.0.1:0").unwrap();
let addr = sock.local_addr().unwrap(); let addr = sock.local_addr().unwrap();
sock.set_read_timeout(Some(Duration::from_millis(1))) sock.set_read_timeout(Some(Duration::from_secs(60)))
.unwrap(); .unwrap();
sock.send_to(PAYLOAD.as_bytes(), addr).unwrap(); sock.send_to(PAYLOAD.as_bytes(), addr).unwrap();

Loading…
Cancel
Save