Github user jmahonin commented on the pull request:

    https://github.com/apache/phoenix/pull/137#issuecomment-160831941
  
    Definitely closer, it does run now, but it takes about 4x longer to run 
than before. The 'doSetup' and 'doTeardown' used to be run only at the very 
beginning and at the very end, and now they're being run before every test due 
to the '@Before' and '@After' annotations.
    
    I wonder if it's possible to do something like the 'ScalaClassRuleTest' in 
[1] and either specify a '@BeforeAll' or an '@ClassRule' in a companion object 
and move the 'doSetup' and 'doTeardown' there?
    
    [1] http://randomallsorts.blogspot.ca/2012/11/junit-411-whats-new-rules.html


---
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.
---

Reply via email to