Skip to content

Commit 96a1f40

Browse files
committed
Auto merge of #27516 - alexcrichton:osx-flaky-zomg, r=brson
The investigation into #14232 discovered that it's possible that signal delivery to a newly spawned process is racy on OSX. This test has been failing spuriously on the OSX bots for some time now, so ignore it as we don't currently know a solution and it looks like it may be out of our control.
2 parents 1db1417 + 4ac7e87 commit 96a1f40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libstd/sys/unix/process.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,11 @@ mod tests {
463463
return 0;
464464
}
465465

466+
// See #14232 for more information, but it appears that signal delivery to a
467+
// newly spawned process may just be raced in the OSX, so to prevent this
468+
// test from being flaky we ignore it on OSX.
466469
#[test]
470+
#[cfg_attr(target_os = "macos", ignore)]
467471
fn test_process_mask() {
468472
unsafe {
469473
// Test to make sure that a signal mask does not get inherited.

0 commit comments

Comments
 (0)