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

Run timeout #532

Closed
bootstraponline opened this issue Mar 28, 2019 · 0 comments · Fixed by #672
Closed

Run timeout #532

bootstraponline opened this issue Mar 28, 2019 · 0 comments · Fixed by #672
Assignees
Milestone

Comments

@bootstraponline
Copy link
Contributor

bootstraponline commented Mar 28, 2019

Use Case

Sometimes tests hang forever due to FTL outages or an issue in the test. Currently Flank only supports a shard level timeout. Run timeouts are enforced at the CI job level. Ideally Flank would be able to timeout a stuck run without relying on the CI timeout.

Feature

flank:
  # The max time this test run can execute before it is cancelled (default: unlimited).
  run-timeout: 60m

Support the same duration format as --timeout.

  • 1h, 5m, 200s
  • 100 is 100 seconds

After exceeding the the run timeout, Flank should:

  • Print a message that says the run timeout has been exceeded
  • Cancel any in progress test executions and print a link to those executions on FTL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants