Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New property: testsuite.maxAllowedRuntime #287

Open
simonmeggle opened this issue Oct 19, 2017 · 3 comments
Open

New property: testsuite.maxAllowedRuntime #287

simonmeggle opened this issue Oct 19, 2017 · 3 comments

Comments

@simonmeggle
Copy link

Let Sakuli terminate a running test after a certain amount of time, e.g. 300 Seconds:

testsuite.maxAllowedRuntime=300

Validate that this threshold is higher than the critical suite threshold.
Proposal for return value:

UNKNOWN: Sakuli suite 'foobar' exceeded maxAllowedRuntime (300s) and was terminated.

@simonmeggle
Copy link
Author

Introduce new Sakuli Suite state:

7 - ABORTED

and map this state to the Nagios state 3 (UNKNOWN)

@simonmeggle
Copy link
Author

simonmeggle commented Oct 19, 2017

If maxAllowedRuntime is lower than ciritcial suite threshold, return

UNKNOWN: maxAllowedRuntime must be higher than Suite runtime.

@toschneck
Copy link
Contributor

maybe default value of 1 houre

@toschneck toschneck added this to the rel-v1.3 milestone Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants