Skip to content

Commit d0488a3

Browse files
committed
Flag cross_process_two_step_transfer_spawn as ignored on OSX as well, due to Mach error
1 parent 3ef1c3f commit d0488a3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/platform/test.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,8 +1045,13 @@ fn cross_process_two_step_transfer_server()
10451045
// This test panics on Windows, because the other process will panic
10461046
// when it detects that it receives handles that are intended for another
10471047
// process. It's marked as ignore/known-fail on Windows for this reason.
1048+
//
1049+
// TODO -- this fails on OSX as well with a MACH_SEND_INVALID_RIGHT!
1050+
// Needs investigation. It may be a similar underlying issue, just done by
1051+
// the kernel instead of explicitly (ports in a message that's already
1052+
// buffered are intended for only one process).
10481053
#[cfg(not(any(feature = "force-inprocess", target_os = "android")))]
1049-
#[cfg_attr(target_os = "windows", ignore)]
1054+
#[cfg_attr(any(target_os = "windows", target_os = "macos"), ignore)]
10501055
#[test]
10511056
fn cross_process_two_step_transfer_spawn() {
10521057
let cookie: &[u8] = b"cookie";

0 commit comments

Comments
 (0)