Stamatis Zampetakis created CALCITE-6676:
--------------------------------------------
Summary: 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
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)