-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 explicit flushing to ProcessStartInfoTests #76610
Conversation
We're seeing some tests fail due to an invalid base64 string, see dotnet#76140 One cause might be because the string isn't fully written yet, so try flushing. Also capture the output so we can see what it was when something goes wrong.
Tagging subscribers to this area: @dotnet/area-system-diagnostics-process Issue DetailsWe're seeing some tests fail due to an invalid base64 string, see #76140 Also capture the output so we can see what it was when something goes wrong.
|
/azp run runtime-bionic |
No pipelines are associated with this pull request. |
/azp run runtime-linuxbionic |
Azure Pipelines successfully started running 1 pipeline(s). |
Looks like invalid base64 indeed...
|
Isn't the console stream's Flush a nop? |
It is, at least in normal circumstances. The debug print showed the crash message though. |
Yeah the flushing was just a shot in the dark, the crash report is indeed why it's not valid base64 😆 |
It would be good to leave that logging in even after this is fixed. |
@akoeplinger, if the flushing isn't the issue, should this be closed then? |
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
We're seeing some tests fail due to an invalid base64 string, see #76140
We can't repro locally but one cause might be because the string isn't fully written yet, so try flushing.
Also capture the output so we can see what it was when something goes wrong.