summaryrefslogtreecommitdiff
path: root/src/sys/socket/mod.rs
diff options
context:
space:
mode:
authorMichael Baikov <manpacket@gmail.com>2022-10-14 09:00:58 -0400
committerMichael Baikov <manpacket@gmail.com>2022-10-14 09:02:05 -0400
commit475819c22bb86faa5d3b5a9ed681bd0afdb02eba (patch)
tree238ab4a162637c8a29954193da5cc202f4f35b35 /src/sys/socket/mod.rs
parent19c83afbbfa8dd509e803ef972be0c52f32acb87 (diff)
downloadnix-475819c22bb86faa5d3b5a9ed681bd0afdb02eba.zip
disable a flaky test on aarch64
See https://github.com/nix-rust/nix/pull/1744 for more details
Diffstat (limited to 'src/sys/socket/mod.rs')
-rw-r--r--src/sys/socket/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs
index aec09dc8..e11a70b1 100644
--- a/src/sys/socket/mod.rs
+++ b/src/sys/socket/mod.rs
@@ -1841,7 +1841,7 @@ mod test {
let recv = super::recvmmsg(rsock, &mut data, recv_iovs.iter(), flags, Some(t))?;
for rmsg in recv {
- #[cfg(not(qemu))]
+ #[cfg(not(any(qemu, target_arch = "aarch64")))]
let mut saw_time = false;
let mut recvd = 0;
for cmsg in rmsg.cmsgs() {
@@ -1856,14 +1856,14 @@ mod test {
sys_time - ts
};
assert!(std::time::Duration::from(diff).as_secs() < 60);
- #[cfg(not(qemu))]
+ #[cfg(not(any(qemu, target_arch = "aarch64")))]
{
saw_time = true;
}
}
}
- #[cfg(not(qemu))]
+ #[cfg(not(any(qemu, target_arch = "aarch64")))]
assert!(saw_time);
for iov in rmsg.iovs() {