Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

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

Open
anEXPer opened this issue Aug 25, 2014 · 1 comment
Open

Comments

@anEXPer
Copy link
Member

anEXPer commented Aug 25, 2014

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?

@cf-gitbot
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants