hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fang Fang FF Chen <ffche...@cn.ibm.com>
Subject RE: Is there a way to run a test about some class?
Date Tue, 02 Aug 2011 08:57:58 GMT
Thank you.
I just want to run some test cases more than once. I am finding a way to
shorten the rum time for each test.

Thanks.
Regards,
FangFang CHEN / 陈芳芳
----------------------------------
BigInsights Team, CDL
Phone:   86-10-82453744
----------------------------------




                                                                           
             Chinna                                                        
             <chinnarao@huawei                                             
             .com>                                                      To 
                                       user@hive.apache.org,               
             2011-08-02 16:32          devaraj.k@huawei.com                
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
             user@hive.apache.         RE: Is there a way to run a test    
                    org                about some class?                   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           






Hi,
org.apache.hadoop.hive.cli.TestCliDriver  this test class will generate at
time of compile. For compiling we no need to any changes in build.xml's.
What exception u r getting pls let me know.

more details u can find in the same link  this section "Add a Unit Test"
 https://cwiki.apache.org/confluence/display/Hive/HowToContribute

From: Fang Fang FF Chen [mailto:ffchenff@cn.ibm.com]
Sent: Tuesday, August 02, 2011 1:43 PM
To: user@hive.apache.org; devaraj.k@huawei.com
Subject: RE: Is there a way to run a test about some class?



Thank you, Devaraj K.

I have another question: is there a way to run test without compile? It
seems I should to modify build-commen.xml and build.xml files.
Could you please tell me the details(i.e. how to modify build-commen.xml
and build.xml files)?
Thanks.
Regards,
FangFang CHEN / 陈芳芳
----------------------------------
BigInsights Team, CDL
Phone: 86-10-82453744
----------------------------------



Inactive hide details for Devaraj K ---2011-08-02 13:27:21---You can run
all the unit test with the command ant test, or you caDevaraj K
---2011-08-02 13:27:21---You can run all the unit test with the command ant
test, or you can run a specific unit test with the command ant
-Dtestcase=<c


                                                                           
                         Devaraj K                                         
                         <devaraj.k@hua                                    
                         wei.com>                                          
                                                                           
                                                                        To 
                         2011-08-02                                        
                         13:24                   user@hive.apache.org      
                                                                           
                                                                        cc 
                                                                           
                                                                           
                                                                   Subject 
                         Please respond                                    
                               to                RE: Is there a way to run 
                         user@hive.apac          a test about some class?  
                             he.org                                        
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





You can run all the unit test with the command ant test, or you can run a
specific unit test with the command ant -Dtestcase=<class name without
package prefix> test (for example ant -Dtestcase=TestFileSystem test).

Refer : https://cwiki.apache.org/confluence/display/Hive/HowToContribute

Devaraj K

From: Fang Fang FF Chen [mailto:ffchenff@cn.ibm.com]
Sent: Tuesday, August 02, 2011 10:43 AM
To: user@hive.apache.org
Subject: Is there a way to run a test about some class?


Every time I run tests with "ant tests", it will lasted for a long time.
Now I just want to run some test(i.e Test
org.apache.hadoop.hive.cli.TestCliDriver).
Is there a command or a way which is available for my idea? Thank you.
Thanks.
Regards,
FangFang CHEN / 陈芳芳
----------------------------------
BigInsights Team, CDL
Phone: 86-10-82453744
----------------------------------

Mime
View raw message