[
https://issues.apache.org/jira/browse/LENS-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256756#comment-14256756
]
Raju Bairishetti commented on LENS-82:
--------------------------------------
TestLensClient test is failed with the current patch. TestLensClient class was
added recently, which has access to the server.
Need to add test dependency in lens-client
Failed tests:
TestLensClient>LensJerseyTest.startAll:63 ยป NoClassDefFound
org/apache/lens/se...
Tests run: 8, Failures: 1, Errors: 0, Skipped: 7
java.lang.NoClassDefFoundError:
org/apache/lens/server/api/driver/MockQueryContext
at
org.apache.lens.server.LensJerseyTest.startAll(LensJerseyTest.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
> Move Mock* classes in lens-server-api to test jar
> -------------------------------------------------
>
> Key: LENS-82
> URL: https://issues.apache.org/jira/browse/LENS-82
> Project: Apache Lens
> Issue Type: Bug
> Components: api
> Affects Versions: 2.0
> Reporter: Amareshwari Sriramadasu
> Assignee: Sreekanth Ramakrishnan
> Fix For: 2.0
>
> Attachments: LENS-82-4.patch, lens-82-1.patch, lens-82-2.patch,
> lens-82-3.patch, output.txt
>
>
> MockDriver and MockQueryContext classes are present in lens-server-api. They
> should be moved to test and other modules can depend on lens-server-api's
> test jar module.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)