You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/04/17 20:07:59 UTC

[jira] [Updated] (CALCITE-687) Make RemoteDriverTest.testStatementLifecycle thread-safe

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

Julian Hyde updated CALCITE-687:
--------------------------------
    Summary: Make RemoteDriverTest.testStatementLifecycle thread-safe  (was: Make RemoteDriverTest thread-safe)

> Make RemoteDriverTest.testStatementLifecycle thread-safe
> --------------------------------------------------------
>
>                 Key: CALCITE-687
>                 URL: https://issues.apache.org/jira/browse/CALCITE-687
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> There is apparently a thread safety issue in RemoteDriverTest. Here is output from <a href="https://travis-ci.org/julianhyde/incubator-calcite/jobs/58869949">Travis</a>:{code}ests run: 18, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 29.008 sec <<< FAILURE! - in org.apache.calcite.avatica.RemoteDriverTest
> testStatementLifecycle(org.apache.calcite.avatica.RemoteDriverTest)  Time elapsed: 1.807 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<9>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.calcite.avatica.RemoteDriverTest.testStatementLifecycle(RemoteDriverTest.java:388)
> {code} Presumably this occurs in Travis because several tests are running concurrently.
> I have disabled the test. We must fix this issue and re-enable the test.



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