Hive
  1. Hive
  2. HIVE-3345

Add junit exclude utility to disable testcases

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There is no test.junit.exclude utility in current trunk
      we could disable testcases using this utility

      1. HIVE-3345.2.patch.txt
        2 kB
        Zhenxiao Luo
      2. HIVE-3345.1.patch.txt
        2 kB
        Zhenxiao Luo

        Activity

        Hide
        Zhenxiao Luo added a comment -

        review request submitted at:
        https://reviews.facebook.net/D4569

        Show
        Zhenxiao Luo added a comment - review request submitted at: https://reviews.facebook.net/D4569
        Hide
        Zhenxiao Luo added a comment -

        To exclude testcases in junit:

        $ant test -Dtest.junit.exclude='*/TestContribCliDriver.class'

        Show
        Zhenxiao Luo added a comment - To exclude testcases in junit: $ant test -Dtest.junit.exclude='* /TestContribCliDriver .class'
        Hide
        Zhenxiao Luo added a comment -

        An example usage:

        $ant test -Dtest.junit.exclude='**/TestContribCliDriver.class'

        To be clear(get rid of print problem), it is single quote, followed by two stars, then back-slash Testcase name dot class

        Show
        Zhenxiao Luo added a comment - An example usage: $ant test -Dtest.junit.exclude='**/TestContribCliDriver.class' To be clear(get rid of print problem), it is single quote, followed by two stars, then back-slash Testcase name dot class
        Hide
        Carl Steinbach added a comment -

        @Zhenxiao: please see my comments on phabricator. Thanks.

        Show
        Carl Steinbach added a comment - @Zhenxiao: please see my comments on phabricator. Thanks.
        Hide
        Namit Jain added a comment -

        @Carl, the comments have been addressed. Can you commit this ?

        Show
        Namit Jain added a comment - @Carl, the comments have been addressed. Can you commit this ?
        Hide
        Carl Steinbach added a comment -

        Committed to trunk. Thanks Zhenxiao!

        Show
        Carl Steinbach added a comment - Committed to trunk. Thanks Zhenxiao!
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-h0.21 #1629 (See https://builds.apache.org/job/Hive-trunk-h0.21/1629/)
        HIVE-3345. Add junit exclude utility to disable testcases (Zhenxiao Luo via cws) (Revision 1377359)

        Result = FAILURE
        cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1377359
        Files :

        • /hive/trunk/build-common.xml
        • /hive/trunk/build.properties
        • /hive/trunk/common/build.xml
        Show
        Hudson added a comment - Integrated in Hive-trunk-h0.21 #1629 (See https://builds.apache.org/job/Hive-trunk-h0.21/1629/ ) HIVE-3345 . Add junit exclude utility to disable testcases (Zhenxiao Luo via cws) (Revision 1377359) Result = FAILURE cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1377359 Files : /hive/trunk/build-common.xml /hive/trunk/build.properties /hive/trunk/common/build.xml
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/)
        HIVE-3345. Add junit exclude utility to disable testcases (Zhenxiao Luo via cws) (Revision 1377359)

        Result = ABORTED
        cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1377359
        Files :

        • /hive/trunk/build-common.xml
        • /hive/trunk/build.properties
        • /hive/trunk/common/build.xml
        Show
        Hudson added a comment - Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/ ) HIVE-3345 . Add junit exclude utility to disable testcases (Zhenxiao Luo via cws) (Revision 1377359) Result = ABORTED cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1377359 Files : /hive/trunk/build-common.xml /hive/trunk/build.properties /hive/trunk/common/build.xml
        Hide
        Ashutosh Chauhan added a comment -

        This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

        Show
        Ashutosh Chauhan added a comment - This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

          People

          • Assignee:
            Zhenxiao Luo
            Reporter:
            Zhenxiao Luo
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development