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

Commit 3f97d41

Browse files
committed
tests: fix compilation
Signed-off-by: Reto Achermann <achreto@gmail.com>
1 parent 526fa1f commit 3f97d41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/tests/s11_rackscale_benchmarks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ fn s11_rackscale_memcached_benchmark_sharded_linux() {
872872
}
873873
};
874874

875-
let timeout_ms = if is_smoke { 60_000 } else { 900_000 };
875+
let timeout_ms = if is_smoke { 60_000 } else { 1200_000 };
876876

877877
fn run_benchmark_internal(config: &MemcachedShardedConfig, timeout_ms: u64) -> PtySession {
878878
Command::new("killall").args(&["memcached"]).status().ok();
@@ -896,7 +896,7 @@ fn s11_rackscale_memcached_benchmark_sharded_linux() {
896896
format!("tcp://localhost:{}", 11211 + id)
897897
} else {
898898
let pathname = config.path.join(format!("memcached{id}.sock"));
899-
remove_file(pathname); // make sure the socket file is removed
899+
remove_file(pathname.clone()); // make sure the socket file is removed
900900
format!("unix://{}", pathname.display())
901901
};
902902

0 commit comments

Comments
 (0)