Hey Pulkit! We have ~24 hours of tests in the project - so we don't run every test after a change; if you open a PR the all tests will run on your changes. You could use "-DskipTests" to disable all tests - or use "-Dtest=..." to run a specific one.
I think you would be better off starting building the master branch first (we have a master-first commit strategy; so you should submit the changes there first anyway) Note: we have a HowToContrinbute guide https://cwiki.apache.org/confluence/display/Hive/HowToContribute but it contains some outdated infos. cheers, Zoltan On 3/15/21 3:59 PM, Pulkit Chawla wrote:
Hi, I was trying to build hive from source. Was using rel/release-3.1.2 tag. Build was successful without unit tests. Although I was struggling with some test cases failing in “hive-exec” module consistently. Can anyone help me debug that, or even point to a direction where I should debug. Test cases that are failing are:: 1.TestExecDriver.testMapPlan1:498->executePlan:489 expected:<true> but was:<false> 2. mvnERRORTestExecDriver.testMapPlan2:506->executePlan:489 expected:<true> but was:<false> 3. mvnERRORTestExecDriver.testMapRedPlan1:515->executePlan:489 expected:<true> but was:<false> 4. mvnERRORTestExecDriver.testMapRedPlan2:524->executePlan:489 expected:<true> but was:<false> 5. mvnERRORTestExecDriver.testMapRedPlan3:533->executePlan:489 expected:<true> but was:<false> 6. mvnERRORTestExecDriver.testMapRedPlan4:542->executePlan:489 expected:<true> but was:<false> 7. mvnERRORTestExecDriver.testMapRedPlan5:551->executePlan:489 expected:<true> but was:<false> 8. mvnERRORTestExecDriver.testMapRedPlan6:560->executePlan:489 expected:<true> but was:<false> ENVironment details :: Maven home: /opt/apache-maven-3.6.1 Java version: 1.8.0_282, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-1.el7_9.x86_64/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux", version: "4.19.121-linuxkit", arch: "amd64", family: "unix" Would really appreciate any help. Thanks and regards, Pulkit