Harsh, thank you for your explanation. Thanks. Regards, FangFang CHEN / 陈芳芳 ---------------------------------- BigInsights Team, CDL Phone: 86-10-82453744 ----------------------------------
Harsh J <harsh@cloudera.c om> To user@hive.apache.org 2011-08-02 21:21 cc Subject Please respond to Re: Is there a way to run a test user@hive.apache. about some class? org Although the compile target is run, no recompilation is done if the build/* files already exist. You shouldn't face too much of a slowdown. FWIW, I load tests up in an IDE and run them directly {when,where}ever I can. 2011/8/2 Fang Fang FF Chen <ffche...@cn.ibm.com> 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 ---------------------------------- Inactive hide details for Chinna ---2011-08-02 16:33:54---Chinna ---2011-08-02 16:33:54--- Chinna < chinnarao@hua wei.com> To 2011-08-02 16:32 user@hive.apache.org, devara...@huawei.com cc Please respond to Subject user@hive.apache.org RE: Is there a way to run a test 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:ffche...@cn.ibm.com] Sent: Tuesday, August 02, 2011 1:43 PM To: user@hive.apache.org; devara...@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 <devara...@huawei.com> 2011-08-02 13:24 To user@hive.apache.org cc Please respond to user@hive.apache.org Subject RE: Is there a way to run a test about some class? 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:ffche...@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 ---------------------------------- -- Harsh J
<<inline: graycol.gif>>
<<inline: pic30624.gif>>
<<inline: ecblank.gif>>
<<inline: 41947512.gif>>
<<inline: 41653701.gif>>