Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
This repository was 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

@anEXPer

Description

@anEXPer

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions