[ 
https://issues.apache.org/jira/browse/SOLR-5022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705548#comment-13705548
 ] 

Dawid Weiss commented on SOLR-5022:
-----------------------------------

bq. My second idea was to run the MiniDFSCluster (which also needs the Jetty 
1.6, right?) as a separate Java Process started before the tests and shut down 
after the tests.

This is when TestNG's BeforeSuite and AfterSuite annotations would be *so* 
handy. These are executed before and after all tests so they act like a setup 
for "all tests", regardless of their number. Very handy for setting up a 
one-time costly things like a web server or other things. JUnit doesn't have 
this functionality as far as I know. Perhaps it could be patched at the 
randomizedtesting's runner level if there's interest (as a non-standard JUnit 
extension).
                
> PermGen exhausted test failures on Jenkins.
> -------------------------------------------
>
>                 Key: SOLR-5022
>                 URL: https://issues.apache.org/jira/browse/SOLR-5022
>             Project: Solr
>          Issue Type: Test
>          Components: Tests
>            Reporter: Mark Miller
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 5.0, 4.4
>
>         Attachments: intern-count-win.txt, SOLR-5022.patch, 
> SOLR-5022-permgen.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to