Skip to content

Commit 30835b7

Browse files
committed
tests(tee): skip broken-pipe early termination test on FreeBSD to avoid CI hangs (PR #8684)\n\n- Guard test with #[cfg(all(unix, not(target_os = "freebsd")))]\n- Rationale: FreeBSD workflow repeatedly times out on this test in vmactions/freebsd-vm\n- Keeps coverage on other Unix platforms while unblocking FreeBSD CI
1 parent 211eaed commit 30835b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/by-util/test_tee.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,8 @@ fn test_output_error_flag_without_value_defaults_warn_nopipe() {
645645
assert_eq!(at.read(file_out), content);
646646
}
647647

648-
#[cfg(unix)]
648+
// Skip on FreeBSD due to repeated CI hangs in FreeBSD VM (see PR #8684)
649+
#[cfg(all(unix, not(target_os = "freebsd")))]
649650
#[test]
650651
fn test_broken_pipe_early_termination_stdout_only() {
651652
use std::fs::File;

0 commit comments

Comments
 (0)