[
https://issues.apache.org/jira/browse/CALCITE-7742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111744#comment-18111744
]
Mihai Budiu commented on CALCITE-7742:
--------------------------------------
The Jira tracker also has hundreds of open issues. Some of them have probably
been solved a long time ago, but no one bothered to check. Writing conclusive
tests enables us to close them.
The code also has many disabled tests which could probably be turned on; there
are multiple kinds of them. Some of them are completely obsolete.
There are many small projects to work on.
You should start small and expand; only this way you can improve your knowledge
of the codebase.
> Test framework has non-determinstic tests
> -----------------------------------------
>
> Key: CALCITE-7742
> URL: https://issues.apache.org/jira/browse/CALCITE-7742
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Priority: Minor
>
> Some tests intermittently fail in CI, here's an example output:
> {code:java}
> FAILURE 0.1sec,
> org.apache.calcite.rel.rel2sql.RelToSqlConverterRoundTripTest >
> testCastToChar()
> java.lang.AssertionError:
> Expected: is "SELECT CAST(`product_id` AS CHAR)\nFROM
> `foodmart`.`product`"
> but: was "SELECT CAST(`product_id` AS CHAR(1))\nFROM
> `foodmart`.`product`" {code}
> Seemingly this is because there is some shared state between concurrent
> tests, e.g., perhaps a custom type system installed?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)