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

Eli Levine commented on CALCITE-1561:
-------------------------------------

Did a bunch more digging and as far as I can tell this is due to the fact that 
PigTest's local Pig execution mode cannot read data files. Why it happens 
sporadically I could not determine, since I could never consistently repro. I 
have added some code to make PigTest's cluster aware of the files. Let's see if 
it improves things. Submitted a PR here: 
https://github.com/apache/calcite/pull/397

[~julianhyde], FYI.

> Intermittent test failures
> --------------------------
>
>                 Key: CALCITE-1561
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1561
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> A few tests are currently failing intermittently.
> 1. UdfTest
> {noformat}
> UdfTest.testUserDefinedFunction:162 
> Expected: is <9>
>     but: was <10>
> {noformat}
> 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory
> {noformat}
> FAILURE! - in org.apache.calcite.test.StreamTest
> testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest)
> Time elapsed: 0.218 sec  <<< ERROR!
> java.lang.RuntimeException: exception while executing [select stream * from
> orders]
> at
> org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237)
> Caused by: java.util.NoSuchElementException
> at
> org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237)
> {noformat}
> I don't consider any of them serious -- they are test issues, not product 
> correctness issues -- but they are inconvenient because false negatives waste 
> developer time.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to