hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9702) Change unittests that use "table" or "testtable" to use method names.
Date Thu, 23 Feb 2017 03:49:44 GMT

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

Hudson commented on HBASE-9702:
-------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #2554 (See [https://builds.apache.org/job/HBase-Trunk_matrix/2554/])
HBASE-9702 Changed unit tests to use method names for tables (stack: rev c7e605445a495d212136b85db37828b560adf435)
* (edit) hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java


> 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
>          Components: test
>            Reporter: Jonathan Hsieh
>            Assignee: Jan Hentschel
>             Fix For: 2.0.0
>
>         Attachments: HBASE-9702.master.001.patch, HBASE-9702.master.002.patch
>
>
> 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.3.15#6346)

Mime
View raw message