The os test TestPipeThreads is failing on the Solaris builder, suggesting that for some reason os.File values are not working with the runtime poller. The code looks OK to me. I don't know why it is not working. Filing this issue to record the problem.
The text was updated successfully, but these errors were encountered:
I don't know why it is not working. Filed issue 19111 for this.
Reviewed-by: Brad Fitzpatrick <firstname.lastname@example.org>
I haven't looked at the original change yet, but pipes are bi-directional on Solaris which tends to trip people up with things that "work" on Linux.
I don't know if this helps, but from pipe(2):
Since a pipe is bi-directional, there are two separate flows of data.
Therefore, the size (st_size) returned by a call to fstat(2) with argu-
ment fildes or fildes is the number of bytes available for read-
ing from fildes or fildes respectively. Previously, the size
(st_size) returned by a call to fstat() with argument fildes (the
write-end) was the number of bytes available for reading from fildes
When I get a moment, I'll see if I can figure something out.