Nadja Reitzenstein 55d6609e33 Executor compiles
2021-11-14 17:51:48 +01:00

27 lines
529 B
Rust

#[cfg(test)]
mod tests {
use bastion_executor::{placement, pool};
#[test]
fn affinity_replacement() {
let core_ids = placement::get_core_ids().unwrap();
dbg!(core_ids);
}
#[cfg(feature = "tokio-runtime")]
mod tokio_tests {
#[tokio::test]
async fn pool_check() {
super::pool::get();
}
}
#[cfg(not(feature = "tokio-runtime"))]
mod no_tokio_tests {
#[test]
fn pool_check() {
super::pool::get();
}
}
}