[ https://issues.apache.org/jira/browse/HIVE-18495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339238#comment-16339238 ]
Hive QA commented on HIVE-18495: -------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 0s{color} | {color:blue} Findbugs executables are not available. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 1m 24s{color} | {color:blue} Maven dependency ordering for branch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 5m 31s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 29s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 1m 1s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 1m 20s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 20s{color} | {color:blue} Maven dependency ordering for patch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 53s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 34s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 34s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 34s{color} | {color:red} ql: The patch generated 25 new + 76 unchanged - 14 fixed = 101 total (was 90) {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 12s{color} | {color:red} itests/util: The patch generated 1 new + 118 unchanged - 1 fixed = 119 total (was 119) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 1m 18s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} asflicense {color} | {color:red} 0m 12s{color} | {color:red} The patch generated 6 ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 17m 27s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus/dev-support/hive-personality.sh | | git revision | master / 3f7127f | | Default Java | 1.8.0_111 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-8830/yetus/diff-checkstyle-ql.txt | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-8830/yetus/diff-checkstyle-itests_util.txt | | asflicense | http://104.198.109.242/logs//PreCommit-HIVE-Build-8830/yetus/patch-asflicense-problems.txt | | modules | C: common ql itests/util U: . | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-8830/yetus.txt | | Powered by | Apache Yetus http://yetus.apache.org | This message was automatically generated. > JUnit rule to enable Driver level testing > ----------------------------------------- > > Key: HIVE-18495 > URL: https://issues.apache.org/jira/browse/HIVE-18495 > Project: Hive > Issue Type: Sub-task > Components: Testing Infrastructure > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > Attachments: HIVE-18495.01.patch, HIVE-18495.02.patch, > HIVE-18495.03.patch > > > I've tried to write a case for a sophisticated check...it worked so well that > I've started using it and eventually created a junit rule to make it easier > to reuse > Currently it takes ~15-25sec to run a test case with this framework (from > which most of the time is the launch time of all kind of stuff which are > needed to run a driver command). > * enable to write JUnit tests which has access to the {{IDriver}} level > * leave out the cli-driver; it sometimes causes problems > * write tests at the {{ql}} module > * it should also work from the IDE without changing anything > Note: JUnit 5 would be great for this task; but unfortunately junit5 needs > maven-surefire 2.19.1 ; which causes all kinds of problems for hive devs > using idea...so that's not an option. -- This message was sent by Atlassian JIRA (v7.6.3#76005)