Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

Timeout, PASS/FAIL in AntConfigs #37

Open
DavidVorick opened this issue Sep 19, 2016 · 0 comments
Open

Timeout, PASS/FAIL in AntConfigs #37

DavidVorick opened this issue Sep 19, 2016 · 0 comments

Comments

@DavidVorick
Copy link
Member

It's my intention that we get a bunch of configs that we run before every release. Something that would make this easier would be having a PASS/FAIL condition, as well as a timeout. When running an antfarm config, if there is a timeout variable, the antfarm will shut-down all of the ants and issue a PASS/FAIL. The PASS condition is only issued if no ant has reported any errors, and the antfarm has also not reported any errors.

If no timeout is specified in the config, then the antfarm will just run until you tell it to quit. It will still state PASS/FAIL when you tell it to quit.

The timeout is in minutes.

Example Config:

{
    "AntConfigs":
    [
        {
            "Jobs": [
                "gateway",
                "host"
            ]
        },
        {
            "Jobs": [
                "gateway",
                "host"
            ]
        },
        {
            "Jobs": [
                "gateway",
                "renter"
            ]
        }
    ],
    "AutoConnect": true
    "Timeout": 60
}

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

1 participant