Skip to content

Commit

Permalink
Disable some tests failing miri
Browse files Browse the repository at this point in the history
Basically any test using rayon is failing due to this issue: crossbeam-rs/crossbeam#878
  • Loading branch information
LDeakin committed Feb 19, 2024
1 parent ae9fae6 commit 44b74b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/array_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ async fn array_async_read(array: Array<AsyncObjectStore<InMemory>>) -> Result<()

#[cfg(all(feature = "ndarray", feature = "async", feature = "object_store"))]
#[tokio::test]
#[cfg_attr(miri, ignore)]
async fn array_async_read_uncompressed() -> Result<(), Box<dyn std::error::Error>> {
let store = Arc::new(AsyncObjectStore::new(InMemory::new()));
let array_path = "/array";
Expand All @@ -222,6 +223,7 @@ async fn array_async_read_uncompressed() -> Result<(), Box<dyn std::error::Error

#[cfg(all(feature = "ndarray", feature = "async", feature = "object_store"))]
#[tokio::test]
#[cfg_attr(miri, ignore)]
async fn array_async_read_shard_compress() -> Result<(), Box<dyn std::error::Error>> {
let store = Arc::new(AsyncObjectStore::new(InMemory::new()));
let array_path = "/array";
Expand Down
2 changes: 2 additions & 0 deletions tests/array_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ fn array_sync_read(array: Array<MemoryStore>) -> Result<(), Box<dyn std::error::

#[cfg(feature = "ndarray")]
#[test]
#[cfg_attr(miri, ignore)]
fn array_sync_read_uncompressed() -> Result<(), Box<dyn std::error::Error>> {
let store = Arc::new(MemoryStore::default());
let array_path = "/array";
Expand All @@ -217,6 +218,7 @@ fn array_sync_read_uncompressed() -> Result<(), Box<dyn std::error::Error>> {

#[cfg(feature = "ndarray")]
#[test]
#[cfg_attr(miri, ignore)]
fn array_sync_read_shard_compress() -> Result<(), Box<dyn std::error::Error>> {
let store = Arc::new(MemoryStore::default());
let array_path = "/array";
Expand Down

0 comments on commit 44b74b5

Please sign in to comment.