Skip to content

Commit 79d6100

Browse files
committed
fix: apply flaky PTY timeout bump only on Windows
1 parent 026ae53 commit 79d6100

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/pty_terminal/tests/terminal.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,8 @@ fn read_to_end_returns_exit_status_success() {
352352
}
353353

354354
#[test]
355-
#[timeout(15000)]
355+
#[cfg_attr(windows, timeout(15000))]
356+
#[cfg_attr(not(windows), timeout(5000))]
356357
fn read_to_end_returns_exit_status_nonzero() {
357358
let cmd = CommandBuilder::from(command_for_fn!((), |(): ()| {
358359
std::process::exit(42);

0 commit comments

Comments
 (0)