pat icon indicating copy to clipboard operation
pat copied to clipboard

Stop doesn't actually stop at specified time if any workload runs long

Open anEXPer opened this issue 10 years ago • 1 comments

According to the CLI, stop is defined this way:

repeat a repeating interval until n seconds, to be used with -interval

And the config-template.yml says:

the total time we want to be runnins workload intervalse

However, the code in pat/benchmarker.go:RepeatEveryUntil does:

if repeats*repeatInterval > runTime {

So, it doesn't actually stop at the end of the stop time if any workload runs long.

Is the code the desired functionality or is it what's specified in the template and help?

anEXPer avatar Aug 25 '14 17:08 anEXPer