From cc59c96e0034014251296d6210b59353ed09b61d Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Fri, 21 Dec 2018 09:30:10 -0500 Subject: Increase timeout in memory_stress_ng from 150% to 200% of expected run time --- bin/memory_stress_ng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/memory_stress_ng b/bin/memory_stress_ng index 181404a..450a319 100755 --- a/bin/memory_stress_ng +++ b/bin/memory_stress_ng @@ -72,7 +72,7 @@ run_stressor() { local runtime="$2" # Add 50% to runtime; will forcefully terminate if stress-ng # fails to return in that time. - end_time=$((runtime*15/10)) + end_time=$((runtime*2)) echo "Running stress-ng $1 stressor for $2 seconds...." logger -t "memory_stress_ng" "Running stress-ng $1 stressor for $2 seconds..." # Use "timeout" command to launch stress-ng, to catch it should it go into la-la land -- cgit v1.2.3