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
Fake Context seems to fail in the test-suite #2135
Comments
Hello, @matthid ! I guess that's what happened. We have
The common state of tests execution can be represented: But if we add Therefore part of tests start working with common initialized AsyncLocal It's easy to check: modify function
I suggest solutions:
Or any of your decision =) |
This sounds very reasonable, thanks a lot for the analysis. Will take me a couple of days to process, but it is very much appreciated. I guess I'd like to have the most robust solution for people writing tests, ideally without hurting parallelism... So the last two options sound good. One other reason I tracked this was that I was unsure if this might have any impact in fake script code, but from your analysis I'd assume it doesn't Thanks |
Description
See https://github.com/fsharp/FAKE/pull/2131/files#r223829937
Repro steps
Expected behavior
All tests (or at least the ones in the process module) should start to trace the executed processes.
Actual behavior
Half of the tests start to fail.
Known workarounds
None
The text was updated successfully, but these errors were encountered: