ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Shutak (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-493) [Fix test] IgniteVsH2QueryTest # testSimpleJoin doesn't pass
Date Wed, 08 Apr 2015 16:51:13 GMT

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

Artem Shutak closed IGNITE-493.
-------------------------------

> [Fix test] IgniteVsH2QueryTest # testSimpleJoin doesn't pass
> ------------------------------------------------------------
>
>                 Key: IGNITE-493
>                 URL: https://issues.apache.org/jira/browse/IGNITE-493
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Artem Shutak
>            Assignee: Artem Shutak
>            Priority: Minor
>             Fix For: sprint-3
>
>
> See IgniteVsH2QueryTest # testSimpleJoin. 
> select id, firstName, lastName from Person where Person.id = 3 - works as expected.
> but for
> select Person.firstName from Person, Purchase where Person.id = 3 
> Ignite cache returns 0 results.
> I believe, that failed queries from testCrossCache have the same root cause.
> Log:
> junit.framework.AssertionFailedError: Rows count has to be equal. 
> Expected :20
> Actual   :0
>  <Click to see difference>
> 	at org.apache.ignite.internal.processors.query.h2.sql.IgniteVsH2QueryTest.assertRsEquals(IgniteVsH2QueryTest.java:463)
> 	at org.apache.ignite.internal.processors.query.h2.sql.IgniteVsH2QueryTest.compareQueryRes0(IgniteVsH2QueryTest.java:413)
> 	at org.apache.ignite.internal.processors.query.h2.sql.IgniteVsH2QueryTest.compareQueryRes0(IgniteVsH2QueryTest.java:359)
> 	at org.apache.ignite.internal.processors.query.h2.sql.IgniteVsH2QueryTest.testSimpleJoin(IgniteVsH2QueryTest.java:607)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1289)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:65)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest$2.run(GridAbstractTest.java:1232)



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

Mime
View raw message