diff --git a/routing/Cargo.toml b/routing/Cargo.toml index d9f3b1afe..27fdb6092 100644 --- a/routing/Cargo.toml +++ b/routing/Cargo.toml @@ -31,7 +31,7 @@ linkme = { workspace = true } mio = { workspace = true, features = ["os-ext", "net"] } serde = { workspace = true, features = ["derive"] } thiserror = { workspace = true } -tokio = { workspace = true, features = ["rt", "sync"] } +tokio = { workspace = true, features = ["fs", "io-util", "macros", "rt", "sync"] } tracing = { workspace = true } # arp resolver diff --git a/routing/src/fib/test.rs b/routing/src/fib/test.rs index 52a418b08..1f883589b 100644 --- a/routing/src/fib/test.rs +++ b/routing/src/fib/test.rs @@ -247,8 +247,8 @@ mod tests { #[test] fn test_concurrency_fibtable() { // number of threads looking up fibtable - const NUM_WORKERS: u16 = 7; - const NUM_PACKETS: u64 = 1_000_000; + const NUM_WORKERS: u16 = 6; + const NUM_PACKETS: u64 = 100_000; const TENTH: u64 = NUM_PACKETS / 10; // create fibtable (empty, without any fib)