hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9702) Change unittests that use "table" or "testtable" to use method names.
Date Wed, 02 Oct 2013 21:41:42 GMT
Jonathan Hsieh created HBASE-9702:
-------------------------------------

             Summary: Change unittests that use "table" or "testtable" to use method names.
                 Key: HBASE-9702
                 URL: https://issues.apache.org/jira/browse/HBASE-9702
             Project: HBase
          Issue Type: Bug
            Reporter: Jonathan Hsieh


While working on HBASE-9686, many tests left files that indicated the method they had come
from but several drop data in "table" or "testtable" tables.  Naming them this way makes it
hard to track which tests these came from.  We should make all test use 

@Rule TestName name = new TestName();
...
TableName  t = TableName.valueOf(name.getMethodName());



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message