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

Commit c86d6c0

Browse files
committed
increase timeout
Signed-off-by: Reto Achermann <[email protected]>
1 parent 24db597 commit c86d6c0

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
@@ -909,7 +909,7 @@ fn s11_linux_memcached_sharded_benchmark() {
909909
}
910910
};
911911

912-
let timeout_ms = if is_smoke { 60_000 } else { 1200_000 };
912+
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;
913913

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

0 commit comments

Comments
 (0)