[ 
https://issues.apache.org/jira/browse/LENS-812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated LENS-812:
-----------------------------------------
    Issue Type: Improvement  (was: Bug)

> Simplify the asserts for CandidateTablePruneCause in 
> TestDenormalizaerResolver test
> -----------------------------------------------------------------------------------
>
>                 Key: LENS-812
>                 URL: https://issues.apache.org/jira/browse/LENS-812
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: cube
>            Reporter: Raju Bairishetti
>            Assignee: Raju Bairishetti
>             Fix For: 2.6
>
>
> Right now, we are checking for all kinds of possibilities of CandidateTable 
> Prunecause details in TestDenormalizerResolver. We are checking for all 
> possible combinations because  iterator on set in java8 is coming different 
> order every time.
> {code}
>    Arrays.asList(CandidateTablePruneCause.columnNotFound("msr2", "msr3")))    
>           || 
> entry.getValue().equals(Arrays.asList(CandidateTablePruneCause.columnNotFound("msr3",
>  "msr2"))));
> {code}
> It would be easier for writing the new tests if we fix this from src side 
> instead of checking for each combination in test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to