You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2026/08/25 00:53:00 UTC
[jira] [Created] (CALCITE-7742) Test framework has non-determinstic tests
Mihai Budiu created CALCITE-7742:
------------------------------------
Summary: 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
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)