-
-
Notifications
You must be signed in to change notification settings - Fork 275
Add atomic write_env_usage test. Fix write_env_usage #2732
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
Add atomic write_env_usage test. Fix write_env_usage #2732
Conversation
This comment has been minimized.
This comment has been minimized.
6464728
to
cb288d3
Compare
fe8ff80
to
21b7046
Compare
Might not be ready for review yet. Just trying to get every platform failing first |
Ooof. Sorry, I jumped the gun! |
I think this is in good shape now. For some reason some ubuntu instances survive 1000 iterations, but the rest fail after 1 or 2 |
038d4ad
to
cb2ed67
Compare
Ok, the test seems stable across all platforms and is now marked as Should I merge this as-is, or keep this test on the shelf if someone comes up with a fix? cc. @KristofferC @StefanKarpinski Edit: Maybe it should stay on the shelf. Those windows hangs aren't good |
34381a7
to
652d419
Compare
d89a845
to
52b48f3
Compare
52b48f3
to
a5c17db
Compare
I'm generally in favor of merging broken tests rather than leaving PRs around and then opening an issue to track fixing the broken tests. Of course, unless the tests are reliably broken and don't hang, that's a bad idea, but if the broken tests aren't flaky, then I'd merge them. |
Ok. To be clear, this PR now adds the test and actually fixes So that would be the test failure that would be merged with this. |
Can we vendor https://github.com/vtjnash/Pidfile.jl instead? |
Seems like a good idea to me and it's not much code. @vtjnash have you ever considered absorbing Pidfile into Base? |
Sure, that seems great |
Superseded by #2793 |
#2661 intended to fix #2633 but introduced different failure modes and was evidently missing tests.
Update: This PR
write_env_usage
across processeswrite_env_usage