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

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

In this line:
{code}
        query = "SELECT * FROM " + indexTableFullName;
        rs = conn.createStatement().executeQuery(query);
        assertTrue(rs.next());
        assertEquals("y",rs.getString(1));
{code}
Do we need to give a SERIAL hint? Otherwise Phoenix is allowed to reorder as it 
sees fit, no?
We do not want to give add ORDER BY because we want to check the right order in 
the index table, right?

> 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
>             Fix For: 4.15.0
>
>
> {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