You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use waitgroups for more readability
- Improve handling errors from writeOutput
- Finish reading from pipes before calling cmd.Wait - fixes a race condition
that leads to an error :`read |0: file already closed`
- Because now waiting for pipes to finish reading, need to update waitGroup to
close buf.Read on context cancel. Otherwise buf.Read blocks until next line
before stopping. Causes TestContext_sleepTimeoutExpired takes a little too long
to cancel (~20s)
0 commit comments