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

SAK-50754 sitearchive Cleanup some code and add unit tests #13106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adrianfish
Copy link
Contributor

@adrianfish adrianfish marked this pull request as draft December 11, 2024 23:02
@adrianfish adrianfish requested a review from csev December 11, 2024 23:02
@adrianfish adrianfish force-pushed the SAK-50754 branch 3 times, most recently from 260da50 to 8f033cb Compare December 13, 2024 16:43
@adrianfish adrianfish marked this pull request as ready for review December 13, 2024 16:43
@adrianfish
Copy link
Contributor Author

adrianfish commented Jan 3, 2025

Could somebody take a look at the config for the windows tests? The archive and merge tests in this PR create directories in the OS's tmp directory to simulate SAKAI_HOME/sakai/archive. On the unix builds, the tests run fine, but not on the windows build. I see this in the build output:

03-Jan-2025 10:50:34.015 WARN [main] o.s.a.i.SiteMerger.merge merge(): file not permitted: C:\Users\runneradmin\AppData\Local\Temp\junit8549310033587694471\archive\xyz-archive

the junit85... dir is supposed to be created by JUnit's TemporaryFolder, and then the test code creates the subdirectories.

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

Successfully merging this pull request may close these issues.

1 participant