You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2020/06/22 18:29:00 UTC
[jira] [Created] (CALCITE-4082) Intermittent failures of
RelMetadataTest#testPullUpPredicatesFromUnion2 in Windows
Stamatis Zampetakis created CALCITE-4082:
--------------------------------------------
Summary: Intermittent failures of RelMetadataTest#testPullUpPredicatesFromUnion2 in Windows
Key: CALCITE-4082
URL: https://issues.apache.org/jira/browse/CALCITE-4082
Project: Calcite
Issue Type: Bug
Components: core
Reporter: Stamatis Zampetakis
The test fails from time to time in Windows since the order of pulled up predicates appears to be different from one execution to the other.
Locally (on Ubuntu), I cannot reproduce but I've seen it a few times in the [CI|https://github.com/apache/calcite/runs/789868941?check_suite_focus=true#step:4:495].
{noformat}
FAILURE 0.0sec, org.apache.calcite.test.RelMetadataTest > testPullUpPredicatesFromUnion2()
java.lang.AssertionError:
Expected: "[=($0, 1), OR(AND(=($1, 2), =($2, 3)), =($1, 4))]"
but: was "[=($0, 1), OR(AND(=($2, 3), =($1, 2)), =($1, 4))]"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.test.RelMetadataTest.testPullUpPredicatesFromUnion2(RelMetadataTest.java:2039)
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)