[ 
https://issues.apache.org/jira/browse/HBASE-10912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-10912:
---------------------------

    Attachment: 10912-v2.txt

Patch v2 removes unused import.

> setUp / tearDown in TestSCVFWithMiniCluster should be done once per run
> -----------------------------------------------------------------------
>
>                 Key: HBASE-10912
>                 URL: https://issues.apache.org/jira/browse/HBASE-10912
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 10912-v1.txt, 10912-v2.txt
>
>
> setUp / tearDown should be annotated with @BeforeClass and @AfterClass, 
> respectively.
> On my Mac, the runtime for this test went from 19 seconds to 9 seconds:
> {code}
> Running org.apache.hadoop.hbase.regionserver.TestSCVFWithMiniCluster
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.302 sec
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to