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

Fixing the flaky test #2395

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Fixing the flaky test #2395

merged 1 commit into from
Dec 17, 2024

Conversation

erri120
Copy link
Member

@erri120 erri120 commented Dec 17, 2024

Trying to fix #2394.

Since the error we're getting back is No such file or directory on a mkdir operation, it's possible that parts of the path get deleted for whatever reason. Instead of putting the temp files into /home/runner/.local/, this PR changes the temp path to be inside the repo. Maybe GitHub runners do weird stuff to outside files or something...

@erri120 erri120 requested a review from halgari December 17, 2024 12:26
@erri120 erri120 self-assigned this Dec 17, 2024
@erri120
Copy link
Member Author

erri120 commented Dec 17, 2024

I've ran CI twice on this PR and both runs succeeded, not sure if the issue is 100% fixed.

@halgari
Copy link
Collaborator

halgari commented Dec 17, 2024

This might actually work, because IIRC on .net runners the temp folder is sometimes on a ramdisk and acts strangely. That might be some of the issue here

@erri120 erri120 merged commit 8d859c6 into Nexus-Mods:main Dec 17, 2024
10 checks passed
@erri120 erri120 deleted the fix/2394 branch December 17, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Flaky test investingation: RocksDB open issue in LegacyDatabaseSupportTest
2 participants