Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
TestQueryService#testExecuteAsync:
Below asserts in this test case will fail, if status poller thread removes queries from launched queries OR if query submitter removes queries from queued queries, before the thread running test case could gauge the values via metricsSvc.
case RUNNING: assertEquals(metricsSvc.getRunningQueries(), runningQueries + 1, "Asserting queries for " + lensQuery.getQueryHandle()); break; case QUEUED: assertEquals(metricsSvc.getQueuedQueries(), queuedQueries + 1);
These were added in commit: https://github.com/apache/incubator-lens/commit/8a9967c6d0642335b87dd223d5da850587e1289c