diff --git a/fusio/src/lib.rs b/fusio/src/lib.rs index 82e4d5d..2df3974 100644 --- a/fusio/src/lib.rs +++ b/fusio/src/lib.rs @@ -536,6 +536,28 @@ mod tests { test_local_fs_copy_link(TokioFs, TokioFs).await.unwrap(); } + #[cfg(all(feature = "tokio-uring", target_os = "linux"))] + #[test] + async fn test_tokio_uring_fs() { + use crate::disk::tokio_uring::fs::TokioUringFs; + + tokio_uring::start(async { + test_local_fs_read_write(TokioUringFs).await.unwrap(); + test_local_fs_copy_link(TokioUringFs, TokioUringFs) + .await + .unwrap(); + }) + } + + #[cfg(feature = "monoio")] + #[monoio::test] + async fn test_monoio_fs() { + use crate::disk::monoio::fs::MonoIoFs; + + test_local_fs_read_write(MonoIoFs).await.unwrap(); + test_local_fs_copy_link(MonoIoFs, MonoIoFs).await.unwrap(); + } + #[cfg(feature = "tokio")] #[tokio::test] async fn test_read_exact() {