I don't use Eclipse so I am not sure if you are having some integration
issues.
However are you able to run the test via command line successfully ?
"mvn -Dtest=TestMathFunctions test -DfailIfNoTests=false"
Thanks
Mehant
On 3/9/14, 1:12 AM, Yash Sharma wrote:
Sent on User mail list by mistake.
Back to Drill Dev.
Peace,
Yash
________________________________________
From: Yash Sharma
Sent: Sunday, March 09, 2014 2:38 PM
To: [email protected]
Subject: Exception while executing test case - testBasicMathFunctions
(TestMathFunctions)
Hi All,
I have been trying to execute the MathFunc test cases.
The testBasicMathFunctions test case fails with the below exception.
I am executing testcase via eclipse currently and probably it is not able to
locate GCompareNullableIntNullableBigInt$LessThanNullableIntNullableBigInt
Any Pointers?
java.lang.IllegalArgumentException: resource
/org/apache/drill/exec/expr/fn/impl/GCompareNullableIntNullableBigInt.java
relative to
org.apache.drill.exec.expr.fn.impl.GCompareNullableIntNullableBigInt$LessThanNullableIntNullableBigInt
not found.
at
com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)
at com.google.common.io.Resources.getResource(Resources.java:203)
at
org.apache.drill.exec.expr.fn.FunctionConverter.get(FunctionConverter.java:67)
at
org.apache.drill.exec.expr.fn.FunctionConverter.getHolder(FunctionConverter.java:166)
at
org.apache.drill.exec.expr.fn.FunctionImplementationRegistry.<init>(FunctionImplementationRegistry.java:45)
at
org.apache.drill.exec.fn.impl.TestMathFunctions.testBasicMathFunctions(TestMathFunctions.java:143)
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
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Peace,
Yash
________________________________
NOTE: This message may contain information that is confidential, proprietary,
privileged or otherwise protected by law. The message is intended solely for
the named addressee. If received in error, please destroy and notify the
sender. Any use of this email is prohibited when received in error. Impetus
does not represent, warrant and/or guarantee, that the integrity of this
communication has been maintained nor that the communication is free of errors,
virus, interception or interference.
________________________________
NOTE: This message may contain information that is confidential, proprietary,
privileged or otherwise protected by law. The message is intended solely for
the named addressee. If received in error, please destroy and notify the
sender. Any use of this email is prohibited when received in error. Impetus
does not represent, warrant and/or guarantee, that the integrity of this
communication has been maintained nor that the communication is free of errors,
virus, interception or interference.