[ 
https://issues.apache.org/jira/browse/PHOENIX-5346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865876#comment-16865876
 ] 

Lars Hofhansl commented on PHOENIX-5346:
----------------------------------------

Thinking on this a bit more.

We're querying the Index table directly. That's not really a valid thing to do, 
right? Instead we should ensure that the index is used, then query the normal 
table, and then make sure the results are correct.

> SaltedIndexIT is flapping
> -------------------------
>
>                 Key: PHOENIX-5346
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5346
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.15.0
>            Reporter: Lars Hofhansl
>            Priority: Major
>
> {code}
> [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 14.042 s <<< FAILURE! - in org.apache.phoenix.end2end.index.SaltedIndexIT
> [ERROR] 
> testMutableTableIndexMaintanenceSaltedSalted(org.apache.phoenix.end2end.index.SaltedIndexIT)
>   Time elapsed: 4.661 s  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[y]> but was:<[x]>
>       at 
> org.apache.phoenix.end2end.index.SaltedIndexIT.testMutableTableIndexMaintanence(SaltedIndexIT.java:129)
>       at 
> org.apache.phoenix.end2end.index.SaltedIndexIT.testMutableTableIndexMaintanenceSaltedSalted(SaltedIndexIT.java:74)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to