-
Notifications
You must be signed in to change notification settings - Fork 1
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
Race detected when send command to the running proxy #1
Comments
while I will try to add unit test for racescenario, can you test whether latest release have similar issue |
the issue is also reproduced on
the issue still existed as with below race information :
|
Please review the PR #2 |
should be closed by #2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To reproduce this just call the proxy run, and perform RawCommands and test it with
-race
option, it should give detected race conditions in many cases.Or just build the provided example with
-race
option.Look like there is a race condition on reading std out/err while waiting spawned program to be exited through calls
cmd.Wait()
such as mentioned in issue golang/go#19685Consider fix like mentioned in the comments golang/go#19685 (comment)
But the observed behavior look like doesn't directly impact the functionality of the library and still need to be checked more in depth
The text was updated successfully, but these errors were encountered: