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

Jungtaek Lim commented on STORM-2100:
-------------------------------------

Took a look about this. Overall rows are same, but it doesn't keep row order in 
JDK7.
In this case, I think we should modify the test to not rely on ordering, since 
we don't sort it.

> Few tests are getting failed in external/sql module with JDK 7 
> ---------------------------------------------------------------
>
>                 Key: STORM-2100
>                 URL: https://issues.apache.org/jira/browse/STORM-2100
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-sql
>    Affects Versions: 1.x
>            Reporter: Satish Duggana
>            Assignee: Jungtaek Lim
>             Fix For: 1.x
>
>
> Tests run: 11, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 31.095 sec 
> <<< FAILURE! - in 
> org.apache.storm.sql.compiler.backends.trident.TestPlanCompiler
> testCompileEquiJoinWithRightOuterJoin(org.apache.storm.sql.compiler.backends.trident.TestPlanCompiler)
>   Time elapsed: 2.434 sec  <<< FAILURE!
> org.junit.internal.ArrayComparisonFailure: arrays first differed at element 
> [0]; expected:<[2, null]> but was:<[3, null]>
>       at 
> org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
>       at org.junit.Assert.internalArrayEquals(Assert.java:473)
>       at org.junit.Assert.assertArrayEquals(Assert.java:265)
>       at org.junit.Assert.assertArrayEquals(Assert.java:280)
>       at 
> org.apache.storm.sql.compiler.backends.trident.TestPlanCompiler.testCompileEquiJoinWithRightOuterJoin(TestPlanCompiler.java:161)
> testCompileEquiJoinWithFullOuterJoin(org.apache.storm.sql.compiler.backends.trident.TestPlanCompiler)
>   Time elapsed: 2.447 sec  <<< FAILURE!
> org.junit.internal.ArrayComparisonFailure: arrays first differed at element 
> [0]; expected:<[null, dept-2]> but was:<[null, dept-3]>
>       at 
> org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
>       at org.junit.Assert.internalArrayEquals(Assert.java:473)
>       at org.junit.Assert.assertArrayEquals(Assert.java:265)
>       at org.junit.Assert.assertArrayEquals(Assert.java:280)
>       at 
> org.apache.storm.sql.compiler.backends.trident.TestPlanCompiler.testCompileEquiJoinWithFullOuterJoin(TestPlanCompiler.java:179)
> testCompileEquiJoinWithLeftOuterJoin(org.apache.storm.sql.compiler.backends.trident.TestPlanCompiler)
>   Time elapsed: 2.381 sec  <<< FAILURE!
> org.junit.internal.ArrayComparisonFailure: arrays first differed at element 
> [0]; expected:<[2, null]> but was:<[3, null]>
>       at 
> org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
>       at org.junit.Assert.internalArrayEquals(Assert.java:473)
>       at org.junit.Assert.assertArrayEquals(Assert.java:265)
>       at org.junit.Assert.assertArrayEquals(Assert.java:280)
>       at 
> org.apache.storm.sql.compiler.backends.trident.TestPlanCompiler.testCompileEquiJoinWithLeftOuterJoin(TestPlanCompiler.java:143)



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

Reply via email to