hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Shelukhin <ser...@hortonworks.com>
Subject Re: Only a small subset of Hive UTs are executed when running mvn test
Date Fri, 10 Jul 2015 01:16:24 GMT
Can you file a bug? I noticed this too under itests when trying to run q
file tests locally when HiveQA was down.
On 15/7/9, 17:59, "Eugene Koifman" <ekoifman@hortonworks.com> wrote:

>I¹ve noticed that not all test are run.
>
>For example ³mvn test -Phadoop-2² from ql/ only runs 30-40 Test*.java
>files while there are 245 such files under ql/.
>Something similar happens under itests/
>
>On 7/9/15, 5:07 PM, "Thomas Friedrich" <tfriedr26@yahoo.com.INVALID>
>wrote:
>
>>Hi, I am trying to run all the UTs on the master branch using the
>>hadoop-2 profilemvn test -Phadoop-2
>>but it only runs 272 tests:
>>org.apache.hive:hive-accumulo-handler 23 org.apache.hive:hive-common  73
>>org.apache.hive:hive-contrib 6 org.apache.hive:hive-exec  168
>>org.apache.hive:hive-serde  2
>>All other tests are skipped. This seems to be related to HIVE-10941 where
>>an additional option to skip the Spark UTs was added. When I take out
>><exclude>%regex[${skip.spark.files}]</exclude>from the exclude list of
>>tests, all tests are executed again.
>>Did anyone else run into this as well or am I missing something in my
>>test command? This seems like a bug to me because HIVE-10477 mentions
>>that by default the Spark tests should be included and no additional
>>spark profile needs to be set.
>>In addition, HIVE-10941 should also update the documentation to explain
>>the use of the spark-test profile.
>>https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDev
>>e
>>loperFAQ-Testing
>
>

Mime
View raw message