host: say why the agent ended after its standard error has been read #66
Loading…
Reference in a new issue
No description provided.
Delete branch "host-agent-last-words"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The host said why an agent ended before it had read the last of the agent's standard error, so a failed start now and then lacked the reason: TestAnAgentThatEndsAtOnceIsAskedWhyAndSays failed 27 times in 2000 runs with GOMAXPROCS=1 (go test -count=2000), 0 with the change; go test ./internal/host also passes at default. The host now waits for the stderr reader to reach its end, at most a second (an agent that left a process holding the pipe).