Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CALCITE-5786] Update QuidemTest and DiffRepository to write intermediate test files to directories other than build/resources/test. This addresses an incremental builds issue with the tests #3273

Closed
wants to merge 2 commits into from

Conversation

akshayabd
Copy link
Contributor

Writing to build/resources/test causes issues with incremental build support, ideally these directories shouldn't be written to once the tests have started.

With this change the intermediate files used by tests are written to other directories in the build folder. These locations are passed to the tests through system properties which are marked internal - so they don't factor into input hash key creation for the tests.

I don't know if there was a specific reason why the files were being written to build/resources/test - I'm assuming it was an oversight. Please review this change with care to ensure there wasn't a reason why the behavior was this way.

…iate test files to directories other than build/resources/test. This addresses an incremental builds issue with the tests
@sonarcloud
Copy link

sonarcloud bot commented Jun 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@akshayabd
Copy link
Contributor Author

cc @clayburn @runningcode

@akshayabd
Copy link
Contributor Author

The Jira issue has screenshots and more details on the issue:
https://issues.apache.org/jira/browse/CALCITE-5786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant