You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/11/06 15:59:00 UTC

[jira] [Updated] (CALCITE-6676) DiffRepository does not update log (_actual) file when assertion fails

     [ https://issues.apache.org/jira/browse/CALCITE-6676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CALCITE-6676:
------------------------------------
    Labels: pull-request-available  (was: )

> DiffRepository does not update log (_actual) file when assertion fails
> ----------------------------------------------------------------------
>
>                 Key: CALCITE-6676
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6676
>             Project: Calcite
>          Issue Type: Bug
>          Components: testkit
>    Affects Versions: 1.38.0
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.39.0
>
>
> Under normal circumstances when a test based on {{DiffRepository}} fails a log file ( with the {{_actual.xml}} suffix) is generated and contains the actual content from the test execution. 
> This {{DiffRepository}} feature is used to update the golden  files easily by copying the log file to the respective file in resources.
> Test fixtures such as {{RelOptFixture}} and {{SqlToRelFixture}} that rely upon {{DiffRepository}} are affected along with all tests using these.
> {{DiffRepository}} and fixtures are published as part of the testkit module so consumers who are using the respective classes are now broken.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)