You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Himanshu Gahlaut (JIRA)" <ji...@apache.org> on 2015/07/21 14:57:04 UTC
[jira] [Created] (LENS-683) Queue Size Assertions fails
intermittently
Himanshu Gahlaut created LENS-683:
-------------------------------------
Summary: Queue Size Assertions fails intermittently
Key: LENS-683
URL: https://issues.apache.org/jira/browse/LENS-683
Project: Apache Lens
Issue Type: Sub-task
Reporter: Himanshu Gahlaut
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.
{code}
case RUNNING:
assertEquals(metricsSvc.getRunningQueries(), runningQueries + 1,
"Asserting queries for " + lensQuery.getQueryHandle());
break;
case QUEUED:
assertEquals(metricsSvc.getQueuedQueries(), queuedQueries + 1);
{code}
These were added in commit: https://github.com/apache/incubator-lens/commit/8a9967c6d0642335b87dd223d5da850587e1289c
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)