Skip to content

Commit d87e6b2

Browse files
committed
Ignore failures of test_aio_suspend on macos
On Cirrus-CI, this test frequently fails with EINVAL. The error goes away if I add a line of debugging, so it's probably a timing issue. But I can't debug it myself. Issue #1361
1 parent 668384e commit d87e6b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/sys/test_aio.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ fn test_fsync_error() {
137137
// in Travis's version of glibc or Linux. Either way, we must skip the test.
138138
// https://github.com/nix-rust/nix/issues/1099
139139
#[cfg_attr(target_os = "linux", ignore)]
140+
// On Cirrus, aio_suspend is failing with EINVAL
141+
// https://github.com/nix-rust/nix/issues/1361
142+
#[cfg_attr(target_os = "macos", ignore)]
140143
fn test_aio_suspend() {
141144
const INITIAL: &[u8] = b"abcdef123456";
142145
const WBUF: &[u8] = b"CDEFG";

0 commit comments

Comments
 (0)