drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill/MapR) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1853) Make tests deterministic (org.apache.drill.jdbc.test.TestViews seems not)
Date Fri, 12 Dec 2014 21:33:13 GMT

    [ 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)

Mime
View raw message