Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Commit d8fc894

Browse files
committed
Limit number of cores used in test
1 parent d837e8d commit d8fc894

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/tests/s06_rackscale_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ fn rackscale_userspace_multicore_test(is_shmem: bool) {
397397
let timeout = 30_000;
398398

399399
let machine = Machine::determine();
400-
let client_num_cores: usize = machine.max_cores() - 1;
400+
let client_num_cores: usize = core::cmp::min(5, machine.max_cores() - 1);
401401

402402
// Create build for both controller and client
403403
let build = Arc::new(

0 commit comments

Comments
 (0)