Skip to content

Commit ba8c951

Browse files
authored
Merge pull request #1063 from mkroening/ci-udp-timeout
ci: add udp read timeout
2 parents cbcae46 + d870724 commit ba8c951

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
run:
125125
working-directory: kernel
126126
strategy:
127+
fail-fast: false
127128
matrix:
128129
arch: [x86_64, aarch64, riscv64]
129130
package: [rusty_demo, httpd, testudp, hello_world, miotcp, mioudp]

xtask/src/ci/qemu.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ fn test_mioudp() -> Result<()> {
309309
socket.connect("127.0.0.1:9975")?;
310310
socket.send(buf.as_bytes())?;
311311

312+
socket.set_read_timeout(Some(Duration::from_secs(10)))?;
312313
let mut buf = [0; 128];
313314
let received = socket.recv(&mut buf)?;
314315
eprintln!("[CI] receive: {}", from_utf8(&buf[..received])?);

0 commit comments

Comments
 (0)