You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Timothy Farkas (JIRA)" <ji...@apache.org> on 2018/01/26 21:38:00 UTC

[jira] [Closed] (DRILL-6112) JoinTestBase.testJoinWithEmptyFile is not annotated with @Test so it is not run. It also doesn't work.

     [ https://issues.apache.org/jira/browse/DRILL-6112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Farkas closed DRILL-6112.
---------------------------------
    Resolution: Invalid

I was being stupid. I didn't see other test classes extended this one and that the method had arguments. There is no issue.

> JoinTestBase.testJoinWithEmptyFile is not annotated with @Test so it is not run. It also doesn't work.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-6112
>                 URL: https://issues.apache.org/jira/browse/DRILL-6112
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Timothy Farkas
>            Assignee: Hanumath Rao Maduri
>            Priority: Major
>
> JoinTestBase.testJoinWithEmptyFile is not annotated with @Test so junit never runs it. When I tried annotating the test and running it, it fails with the following exception.
> {code}
> Running org.apache.drill.exec.physical.impl.join.JoinTestBase#testJoinWithEmptyFile
> 13:04:41.363 [main] ERROR org.apache.drill.TestReporter - Test Failed (d: 0 B(1 B), h: 8.1 MiB(129.5 MiB), nh: 299.2 KiB(46.7 MiB)): testJoinWithEmptyFile(org.apache.drill.exec.physical.impl.join.JoinTestBase)
> java.lang.IllegalArgumentException: null
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_80]
> 	at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_80]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_80]
> 	at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_80]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_80]
> 	at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_80]
> java.lang.IllegalArgumentException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)