Skip to content

Commit 44b3beb

Browse files
committed
feat(routing): scale down fib table concurrency test
The fibtable concurrency test takes more time than nearly all of the tests, and can even take nearly a minute. Scale it down to keep test run times low. Signed-off-by: Fredi Raspall <fredi@githedgehog.com>
1 parent bb02ee5 commit 44b3beb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routing/src/fib/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ mod tests {
247247
#[test]
248248
fn test_concurrency_fibtable() {
249249
// number of threads looking up fibtable
250-
const NUM_WORKERS: u16 = 7;
251-
const NUM_PACKETS: u64 = 1_000_000;
250+
const NUM_WORKERS: u16 = 6;
251+
const NUM_PACKETS: u64 = 1_000_00;
252252
const TENTH: u64 = NUM_PACKETS / 10;
253253

254254
// create fibtable (empty, without any fib)

0 commit comments

Comments
 (0)