From fc2cc898ef1c62ac4408753ea08eaf6e2679eb90 Mon Sep 17 00:00:00 2001 From: H-Chris233 Date: Sat, 6 Jun 2026 18:35:55 +0800 Subject: [PATCH] fix(asr): stabilize MiMo HTTP tests on macOS --- openless-all/app/src-tauri/src/asr/mimo.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openless-all/app/src-tauri/src/asr/mimo.rs b/openless-all/app/src-tauri/src/asr/mimo.rs index 0cc1759f..5637107d 100644 --- a/openless-all/app/src-tauri/src/asr/mimo.rs +++ b/openless-all/app/src-tauri/src/asr/mimo.rs @@ -335,6 +335,7 @@ mod tests { Err(err) => panic!("accept MiMo ASR test request failed: {err}"), } }; + stream.set_nonblocking(false).unwrap(); stream .set_read_timeout(Some(Duration::from_secs(5))) .unwrap(); @@ -387,6 +388,7 @@ mod tests { Err(err) => panic!("accept MiMo ASR chunk request failed: {err}"), } }; + stream.set_nonblocking(false).unwrap(); stream .set_read_timeout(Some(Duration::from_secs(5))) .unwrap();