-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50483/
-----------------------------------------------------------
Review request for lens.
Bugs: LENS-1239
https://issues.apache.org/jira/browse/LENS-1239
Repository: lens
Description
-------
Failures are because server has come up only with hive drivers and no jdbc and
mock failing drivers. LensJerseyTest.getServerConf() constructs conf with
overwrites from subclasses. If subclasses over-write the conf -
TestQueryIndependenceFromSessionClose does right now, and if BeforeSuite's
setup picks conf from that class, we are seeing failures.
Updated the test classes with proper calls to restart with correct config.
Diffs
-----
lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java a55552e
lens-server/src/test/java/org/apache/lens/server/LensServerTestUtil.java
b651b79
lens-server/src/test/java/org/apache/lens/server/TestServerRestart.java
bb57614
lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java
3e9ddb8
lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java
8be1f89
lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java
d723596
lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
33791ea
Diff: https://reviews.apache.org/r/50483/diff/
Testing
-------
Thanks,
Amareshwari Sriramadasu