You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2013/12/05 02:59:36 UTC

[jira] [Commented] (HIVE-5238) "ant testreport" does not include any storage-handlers/hbase unit test results

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

Eugene Koifman commented on HIVE-5238:
--------------------------------------

$ git diff hcatalog/storage-handlers/hbase/build.xml
diff --git a/hcatalog/storage-handlers/hbase/build.xml b/hcatalog/storage-handlers/hbase/build.xml
index 46ff91a..01bceee 100644
--- a/hcatalog/storage-handlers/hbase/build.xml
+++ b/hcatalog/storage-handlers/hbase/build.xml
@@ -159,6 +159,12 @@
                     <enable />
                 </assertions>
             </junit>
+            <copy todir="${test.result.dir}">
+                <!--make sure hive's 'ant testreport' includes them-->
+                <fileset dir="${test.log.dir}">
+                    <include name="**/TEST-*.xml"/>
+                </fileset>
+            </copy>
             <fail if="tests.failed">Tests failed!</fail>
         </sequential>
     </target>


> "ant testreport" does not include any storage-handlers/hbase unit test results
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-5238
>                 URL: https://issues.apache.org/jira/browse/HIVE-5238
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.12.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>
> hcatalog/build-support/ant/test.xml defines _junit macro which copies TEST-*.xml to hive/build so that "ant testreport" at hive root includes test results in the html page.  All hcatalog modules except storage-handlers use this.
> Need to fix this so that all test results are clearly visible.



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