You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill/MapR) (JIRA)" <ji...@apache.org> on 2014/12/12 22:33:13 UTC

[jira] [Commented] (DRILL-1853) Make tests deterministic (org.apache.drill.jdbc.test.TestViews seems not)

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

Daniel Barclay (Drill/MapR) commented on DRILL-1853:
----------------------------------------------------

org.apache.drill.jdbc.test.TestViews is also non-deterministic when run from Maven.

In the current state of my code, some methods fail with allocation/deallocation problems.

In different test runs, different test methods fail.

> Make tests deterministic (org.apache.drill.jdbc.test.TestViews seems not)
> -------------------------------------------------------------------------
>
>                 Key: DRILL-1853
>                 URL: https://issues.apache.org/jira/browse/DRILL-1853
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>            Reporter: Daniel Barclay (Drill/MapR)
>
> The JUnit tests should be deterministic. 
> It appears that at least org.apache.drill.jdbc.test.TestViews is not.
> In particular, running that test class in Eclipse, even with the JVM configured with the same options as ./pom.xml's configuration for SureFire, yields different failures on different runs (even when test methods are run in the same, default order in different runs).



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