This repository was archived by the owner on Aug 2, 2021. It is now read-only.
api: temporary fix test failing on windows due to access denied#1450
Merged
api: temporary fix test failing on windows due to access denied#1450
Conversation
Contributor
|
Looks like a race on the temp folder (since it is a global var) while multiple tests are running and trying to access that temp dir, maybe? |
nonsense
approved these changes
Jun 11, 2019
b550166 to
be4ed99
Compare
Contributor
Author
Right, I was thinking that I was targeting only this test while I was testing this locally. |
acud
pushed a commit
that referenced
this pull request
Jun 14, 2019
acud
pushed a commit
that referenced
this pull request
Jun 20, 2019
acud
pushed a commit
that referenced
this pull request
Jun 20, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I haven't really figured out the real reason for this failing... Running it locally in my machine would have a ~ 80% failure rate (flaky) with errors like:
With this fix it's passing all the time but we're not really testing the directory creation that
fs.Download(...)does... which in any way shouldn't be that important because the function seems to be deprecated.