Skip to content

[CI-shell-tests] Support granular test timeout #1125

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

Merged
merged 2 commits into from
Oct 26, 2020

Conversation

or-shachar
Copy link
Contributor

@or-shachar or-shachar commented Oct 22, 2020

Description

I wanna add a way for specifying specific timeout per test. Currently there's a global timeout of 60 minutes per test while in travis the timeout it for each test suite is 50 minutes.

When travis terminates the run in the middle of test run, we can't even see the logs of the timing out test. Using this mechanism we can terminate the test ourselves and see the output.

Motivation

I looked at travis job from this PR

draft notice

I'm checking it now with super low timeout in purpose - I wanna see how it looks like. - see first commit travis to see example for failure on timeout..

PR is ready to merge AFAIC.
FYI: @liucijus

@google-cla google-cla bot added the cla: yes label Oct 22, 2020
@or-shachar or-shachar changed the title Granular test timeout [CI-shell-tests] Support granular test timeout Oct 22, 2020
@or-shachar or-shachar marked this pull request as ready for review October 24, 2020 21:24
@or-shachar or-shachar requested a review from ittaiz as a code owner October 24, 2020 21:24
@ittaiz ittaiz merged commit 93d80eb into bazel-contrib:master Oct 26, 2020
blorente pushed a commit to twitter-forks/rules_scala that referenced this pull request Nov 26, 2020
* Testing short test timeout

* Now using realistic timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants