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

Commit 60889aa

Browse files
committed
tests: set rackscale runner only whe it's not multi-node
Signed-off-by: Reto Achermann <achreto@gmail.com>
1 parent 07c2f9a commit 60889aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

kernel/testutils/src/rackscale_runner.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,12 +786,13 @@ impl<T: Clone + Send + 'static> RackscaleBench<T> {
786786

787787
// Set rackscale appropriately, rebuild if necessary.
788788
if !is_baseline != test_run.built.with_args.rackscale {
789-
eprintln!("\tRebuilding with rackscale={}", !is_baseline,);
789+
let is_rackscale = !is_baseline && !test_run.is_multi_node;
790+
eprintln!("\tRebuilding with rackscale={}", is_rackscale);
790791
test_run.built = test_run
791792
.built
792793
.with_args
793794
.clone()
794-
.set_rackscale(!is_baseline)
795+
.set_rackscale(is_rackscale)
795796
.build();
796797
}
797798

0 commit comments

Comments
 (0)