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

Add timeout support to terminate hung tests #70

Open
jd0-sag opened this issue Jul 19, 2016 · 0 comments
Open

Add timeout support to terminate hung tests #70

jd0-sag opened this issue Jul 19, 2016 · 0 comments
Labels

Comments

@jd0-sag
Copy link
Contributor

jd0-sag commented Jul 19, 2016

Galvan doesn't currently make any attempt to terminate hung or unresponsive tests. This means something else has to terminate them.

Internally, this wouldn't be difficult to implement. Optional settings would allow the framework to directly declare a test as failed due to a hang:

  • Maximum test time - terminate the test once this much time has elapsed since the harness started running any test-related code (this would also mean that hangs in "setup" clients would be considered hung failures)
  • Maximum inactive time - terminate the test if this much time has elapsed since the last event was processed by the framework's state machine (this would allow a tighter bound on hangs since many tests could be slow but typically interact with the harness fairly frequently)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants