From 44b74b5ce20f25bbefce405875aa874fbd65ece2 Mon Sep 17 00:00:00 2001 From: Lachlan Deakin Date: Tue, 20 Feb 2024 10:09:48 +1100 Subject: [PATCH] Disable some tests failing miri Basically any test using rayon is failing due to this issue: https://github.com/crossbeam-rs/crossbeam/issues/878 --- tests/array_async.rs | 2 ++ tests/array_sync.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/array_async.rs b/tests/array_async.rs index b8740894..b14533f2 100644 --- a/tests/array_async.rs +++ b/tests/array_async.rs @@ -204,6 +204,7 @@ async fn array_async_read(array: Array>) -> Result<() #[cfg(all(feature = "ndarray", feature = "async", feature = "object_store"))] #[tokio::test] +#[cfg_attr(miri, ignore)] async fn array_async_read_uncompressed() -> Result<(), Box> { let store = Arc::new(AsyncObjectStore::new(InMemory::new())); let array_path = "/array"; @@ -222,6 +223,7 @@ async fn array_async_read_uncompressed() -> Result<(), Box Result<(), Box> { let store = Arc::new(AsyncObjectStore::new(InMemory::new())); let array_path = "/array"; diff --git a/tests/array_sync.rs b/tests/array_sync.rs index 79bd2613..10880c14 100644 --- a/tests/array_sync.rs +++ b/tests/array_sync.rs @@ -199,6 +199,7 @@ fn array_sync_read(array: Array) -> Result<(), Box Result<(), Box> { let store = Arc::new(MemoryStore::default()); let array_path = "/array"; @@ -217,6 +218,7 @@ fn array_sync_read_uncompressed() -> Result<(), Box> { #[cfg(feature = "ndarray")] #[test] +#[cfg_attr(miri, ignore)] fn array_sync_read_shard_compress() -> Result<(), Box> { let store = Arc::new(MemoryStore::default()); let array_path = "/array";