Skip to content

Commit 030e93d

Browse files
committed
Reenable test_fsync on OSX
1 parent 7dc871e commit 030e93d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/sys/test_aio.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,8 @@ fn test_aio_cancel_all() {
7373
let _ = aiocb.aio_return();
7474
}
7575

76-
// I can't explain why, but on Travis in OSX aiocb.fsync will repeatedly
77-
// return EAGAIN. It doesn't happen on the bench.
7876
#[test]
79-
#[cfg_attr(any(target_os = "macos",
80-
all(target_env = "musl", target_arch = "x86_64")), ignore)]
77+
#[cfg_attr(all(target_env = "musl", target_arch = "x86_64"), ignore)]
8178
fn test_fsync() {
8279
const INITIAL: &'static [u8] = b"abcdef123456";
8380
let mut f = tempfile().unwrap();
@@ -504,6 +501,8 @@ fn test_lio_listio_read_immutable() {
504501
}
505502

506503
// Test dropping an AioCb that hasn't yet finished.
504+
// Skip on OSX where this test seems to hose the AIO subsystem and
505+
// causes subsequent tests to fail
507506
#[test]
508507
#[should_panic(expected = "Dropped an in-progress AioCb")]
509508
#[cfg(not(any(target_os = "macos", target_env = "musl")))]

0 commit comments

Comments
 (0)