Skip to content

Commit fffc881

Browse files
committed
fix(pty_proxy): remove timeout from test recv to prevent race condition
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
1 parent bc7544f commit fffc881

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/nono-cli/src/pty_proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,7 @@ mod tests {
22042204
let mut drained = vec![0u8; 16 * 1024];
22052205
let _ = reader.read(&mut drained);
22062206
let _ = drained_tx.send(());
2207-
let _ = release_rx.recv_timeout(Duration::from_secs(1));
2207+
let _ = release_rx.recv();
22082208
});
22092209

22102210
write_all_fd(writer.as_raw_fd(), b"ok").expect("write_all_fd should retry");

0 commit comments

Comments
 (0)