Browse Source

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.
Tamir Duberstein 1 year ago
parent
commit
81268b7ac1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/integration-test/src/tests/xdp.rs

+ 1 - 1
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();