Skip to content

Commit 475819c

Browse files
committed
disable a flaky test on aarch64
See #1744 for more details
1 parent 19c83af commit 475819c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sys/socket/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@ mod test {
18411841
let recv = super::recvmmsg(rsock, &mut data, recv_iovs.iter(), flags, Some(t))?;
18421842

18431843
for rmsg in recv {
1844-
#[cfg(not(qemu))]
1844+
#[cfg(not(any(qemu, target_arch = "aarch64")))]
18451845
let mut saw_time = false;
18461846
let mut recvd = 0;
18471847
for cmsg in rmsg.cmsgs() {
@@ -1856,14 +1856,14 @@ mod test {
18561856
sys_time - ts
18571857
};
18581858
assert!(std::time::Duration::from(diff).as_secs() < 60);
1859-
#[cfg(not(qemu))]
1859+
#[cfg(not(any(qemu, target_arch = "aarch64")))]
18601860
{
18611861
saw_time = true;
18621862
}
18631863
}
18641864
}
18651865

1866-
#[cfg(not(qemu))]
1866+
#[cfg(not(any(qemu, target_arch = "aarch64")))]
18671867
assert!(saw_time);
18681868

18691869
for iov in rmsg.iovs() {

0 commit comments

Comments
 (0)