From 81268b7ac1ca325a740076e0d00c2ff5af1a20b7 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 2 Oct 2023 16:09:52 -0400 Subject: [PATCH] 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. --- test/integration-test/src/tests/xdp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration-test/src/tests/xdp.rs b/test/integration-test/src/tests/xdp.rs index 780fe465..092f280e 100644 --- a/test/integration-test/src/tests/xdp.rs +++ b/test/integration-test/src/tests/xdp.rs @@ -86,7 +86,7 @@ fn cpumap_chain() { let sock = UdpSocket::bind("127.0.0.1:0").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(); sock.send_to(PAYLOAD.as_bytes(), addr).unwrap();