> On Jan. 29, 2015, 3:39 p.m., Amareshwari Sriramadasu wrote: > > lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java, > > line 313 > > <https://reviews.apache.org/r/30413/diff/1/?file=840120#file840120line313> > > > > Doing restartLensServer() as part of unit test would break other tests. > > We might have to move this TestServerRestart which is in different group. > > Himanshu Gahlaut wrote: > None of the tests break. Have run all the tests. > > Amareshwari Sriramadasu wrote: > I'm surprised the tests didn't break, as many tests in current unit test > suite expect the server not to be restarted. Just hoping there shouldn't be > intermittent failures with this checked in.
Seems like all tests are running sequentially. Have created a jira ticket to improve this. https://issues.apache.org/jira/browse/LENS-255 - Himanshu ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30413/#review70209 ----------------------------------------------------------- On Jan. 29, 2015, 5:23 p.m., Himanshu Gahlaut wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30413/ > ----------------------------------------------------------- > > (Updated Jan. 29, 2015, 5:23 p.m.) > > > Review request for lens. > > > Repository: lens > > > Description > ------- > > Handled exception generated while adding relocated resources during session > restore. > > > Diffs > ----- > > > lens-server/src/main/java/org/apache/lens/server/session/HiveSessionService.java > 7641232 > > lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java > 109b36d > lens-server/src/test/resources/restart-on-resource-move-test.jar > PRE-CREATION > > Diff: https://reviews.apache.org/r/30413/diff/ > > > Testing > ------- > > Unit Test case written for issue at hand. Will publish result of running all > unit test cases shortly. > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Lens Checkstyle Rules ............................. SUCCESS [12.027s] > [INFO] Lens .............................................. SUCCESS [6.598s] > [INFO] Lens API .......................................... SUCCESS [9.964s] > [INFO] Lens API for server and extensions ................ SUCCESS [9.090s] > [INFO] Lens Cube ......................................... SUCCESS [8:00.339s] > [INFO] Lens DB storage ................................... SUCCESS [41.224s] > [INFO] Lens Query Library ................................ SUCCESS [22.335s] > [INFO] Lens Hive Driver .................................. SUCCESS > [13:40.708s] > [INFO] Lens Driver for Cloudera Impala ................... SUCCESS [5.775s] > [INFO] Lens Driver for JDBC .............................. SUCCESS [45.552s] > [INFO] Lens Server ....................................... SUCCESS > [16:57.945s] > [INFO] Lens client ....................................... SUCCESS [1:01.377s] > [INFO] Lens CLI .......................................... SUCCESS [5:08.882s] > [INFO] Lens Examples ..................................... SUCCESS [1.449s] > [INFO] Lens Distribution ................................. SUCCESS [5.741s] > [INFO] Lens Client Distribution .......................... SUCCESS [7.128s] > [INFO] Lens ML Lib ....................................... SUCCESS [2:16.720s] > [INFO] Lens Regression ................................... SUCCESS [0.451s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 49:54.335s > [INFO] Finished at: Thu Jan 29 21:07:30 IST 2015 > [INFO] Final Memory: 98M/295M > [INFO] > ------------------------------------------------------------------------ > > > Thanks, > > Himanshu Gahlaut > >
