diff options
author | Rod Smith <rod.smith@canonical.com> | 2018-12-21 09:30:10 -0500 |
---|---|---|
committer | Rod Smith <rod.smith@canonical.com> | 2018-12-21 09:30:10 -0500 |
commit | cc59c96e0034014251296d6210b59353ed09b61d (patch) | |
tree | 337d504a2ddd8063f97670ca2d6ebea639c0720a | |
parent | f60cac039edfb1337857878a96b5f9dd4450bc94 (diff) |
Increase timeout in memory_stress_ng from 150% to 200% of expected run time
-rwxr-xr-x | bin/memory_stress_ng | 2 |
1 files changed, 1 insertions, 1 deletions
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 |