Re: [go-nuts] Re: "file already closed" occurring on Linux only (possible bug?)

2018-03-01 Thread Mark Sheahan
all reads from the pipe have completed." > > Put wg.Wait() of the read/writes from/to the pipes before calling > sess.Wait(). (So it is not ok to call it in a goroutine). > > > 2018. március 1., csütörtök 21:01:17 UTC+1 időpontban Mark Sheahan a > következőt írta:

[go-nuts] "file already closed" occurring on Linux only (possible bug?)

2018-03-01 Thread Mark Sheahan
We've had an integration test that has very occasionally failed since go 1.8.x, which is that a pipe reader appears to be getting closed rather than just giving EOF when the writer is closed. An isolated test case is here in this repository: https://github.com/marksheahan/pipebug, just checkout