pat
pat copied to clipboard
Stop doesn't actually stop at specified time if any workload runs long
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?