GitHub user brennonyork opened a pull request:
https://github.com/apache/incubator-distributedlog/pull/75
DL-123: Every tests should have timeout
* used a simple bash script to find any tests without a timeout
Here is the below bash executed from the root directory. This could be
expanded to take in more than one line above the initial `grep` although, for
more, it only reduces the false positive rate. After this patch there are only
4 false positives (tests where the text immediately above is not `@Test(timeout
= ...)`).
```
grep -r "public void test" -B 1 * | awk '($NR+1) % 3 !=0 {printf $0; printf
" "} NR % 3 == 0 {print " "}' | grep -v "timeout"
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brennonyork/incubator-distributedlog DL-123
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-distributedlog/pull/75.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #75
----
commit ece7cde25fd44e913d0b5b15a807fd1d0f28fd89
Author: Brennon York <[email protected]>
Date: 2016-12-16T05:06:29Z
added timeout of 60000 to all tests
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---