Skip to content

Commit

Permalink
Test: test MonoioRuntime with Suite::test_all()
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Aug 6, 2024
1 parent 3c059c8 commit 90ff4d8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions rt-monoio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,3 +401,16 @@ mod mutex_mod {
}
}
}

#[cfg(test)]
mod tests {
use openraft::testing::runtime::Suite;

use super::*;

#[test]
fn test_monoio_rt() {
let mut rt = monoio::RuntimeBuilder::<monoio::FusionDriver>::new().enable_all().build().unwrap();
rt.block_on(Suite::<MonoioRuntime>::test_all());
}
}

0 comments on commit 90ff4d8

Please sign in to comment.