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

Commit f7e3f71

Browse files
committed
increase timeout
Signed-off-by: Reto Achermann <achreto@gmail.com>
1 parent 3b5ec98 commit f7e3f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/tests/s11_rackscale_benchmarks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ fn s11_linux_memcached_sharded_benchmark() {
915915
}
916916
};
917917

918-
let timeout_ms = if is_smoke { 60_000 } else { 1200_000 };
918+
let timeout_ms = if is_smoke { 60_000 } else { std::cmp::max(config.mem_size / 10 * 1000, 60_000) + std::cmp::max(60_000, config.num_queries / 1000) } as u64;
919919

920920
fn run_benchmark_internal(config: &MemcachedShardedConfig, timeout_ms: u64) -> PtySession {
921921
Command::new("killall").args(&["memcached"]).status().ok();

0 commit comments

Comments
 (0)