Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6676

DiffRepository does not update log (_actual) file when assertion fails

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: