[ https://issues.apache.org/jira/browse/LENS-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on LENS-885 started by Rajat Khandelwal. --------------------------------------------- > Cleanup of Cube test cases > -------------------------- > > Key: LENS-885 > URL: https://issues.apache.org/jira/browse/LENS-885 > Project: Apache Lens > Issue Type: Sub-task > Components: build > Reporter: Rajat Khandelwal > Assignee: Rajat Khandelwal > > * Some functions are wrongly placed. e.g. DateUtil.getCeilDate(date, > updatePeriod) can be better expressed as updatePeriod.getCeilDate(date). > * Date parsing from query can be cached > * There is a bloat of Date variables in CubeTestSetup, organize them and only > keep named variables for the most used ones > * Unify time range clause creation across test cases. Right now, tests create > time ranges as and when needed. Remove repetition and redundancies. > * Correct names to variables -- This message was sent by Atlassian JIRA (v6.3.4#6332)