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?
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/77562252.