-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CommentPicklingTest fails on Windows #5149
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
Comments
Could you post a stack trace? |
It could be that my path in #5150 is wrong. At least according to the following stack trace. Strange. Here is the stack trace:
|
Update to the issue. I've changed the title because problem is not in the Here is a stack trace
Test fails attempting to delete 'out' directory which is actually empty (files are deleted prior to the call to The interesting thing is that if we comment out 'unpickle' call the test passes
Scala sources compilation performed before this step doesn't affect the test. So there is some interesting difference between Driver and UnpicklingDriver which results in some kind of locking the 'out' directory |
Ok, I finally managed to find the real reason which fortunately has nothing to do with compiler internals and was in test implementation. Details are in #5170 |
Fix #5149: Use function that closes the file stream
Seen in testOnly dotty.tools.vulpix.VulpixUnitTests
The text was updated successfully, but these errors were encountered: