Github user ahgittin commented on the pull request:
https://github.com/apache/incubator-brooklyn/pull/1119#issuecomment-166633378
have looked in to why tests are taking significantly longer. i fixed a few
obvious items, but there seem to be two recent big offenders:
* test framework -- has a dozen or so tests which wait for 2s
* recent jetty update -- attempts DTD validation when starting a web server
(half a dozen tests; worse, these fail if you are offline!)
beyond this the biggest offenders are the dozen or so methods which need to
populate the catalog, each taking several seconds.
as neither is directly related to the reorg i'll hit pause on them but
recording findings for posterity, esp for @sjcorbett @aledsage
BTW simple script (from uber repo / root) to see how long projects' tests
take:
find . -name TEST-TestSuite.xml | while read x ; do echo -n $x": " ;
grep \<testsuite $x ; done | sort -k 4
and long individual test cases
find . -name TEST-TestSuite.xml -exec cat {} \; | grep testcase | sort
-k4
(sorting is not-quite-numeric but avoids messy xmllinting and sed)
i will move on to the others
---
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.
---