From d87072440bece5a98e6a8f404c68afc5b10dfa90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Wed, 14 Feb 2024 17:17:04 +0100 Subject: [PATCH] ci: add udp read timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- .github/workflows/ci.yml | 1 + xtask/src/ci/qemu.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93b04d6863..0e3a8dbbbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,6 +124,7 @@ jobs: run: working-directory: kernel strategy: + fail-fast: false matrix: arch: [x86_64, aarch64, riscv64] package: [rusty_demo, httpd, testudp, hello_world, miotcp, mioudp] diff --git a/xtask/src/ci/qemu.rs b/xtask/src/ci/qemu.rs index 8c774bf531..e58b0e0ed8 100644 --- a/xtask/src/ci/qemu.rs +++ b/xtask/src/ci/qemu.rs @@ -309,6 +309,7 @@ fn test_mioudp() -> Result<()> { socket.connect("127.0.0.1:9975")?; socket.send(buf.as_bytes())?; + socket.set_read_timeout(Some(Duration::from_secs(10)))?; let mut buf = [0; 128]; let received = socket.recv(&mut buf)?; eprintln!("[CI] receive: {}", from_utf8(&buf[..received])?);