Large quantities of stderr from exec()
not always fully captured
#23
Labels
bug
Something isn't working
exec()
not always fully captured
#23
The following test is a bit savage, but reliably reproduces the issue.
Note the use of
sandbox_non_root
which is ubuntu without gVisor. This seems to repro the issue much more readily than the default sandbox with gVisor.Hypothesis:
WSClient
is closed by us when we read the sentinel value, but not all of stderr has been sent over the websocket. It seemed that adding thesync
command to thesh
script improved this, but didn't make it 100% reliable.When we don't manually close the websocket upon reading the sentinel value, this test passes.
The text was updated successfully, but these errors were encountered: