Add binary IO tests

Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
This commit is contained in:
Maksym Pavlenko
2020-04-17 16:50:43 -07:00
parent 9175401b28
commit 917e7646ae
2 changed files with 73 additions and 5 deletions

View File

@@ -383,11 +383,7 @@ func (b *binaryIO) cancel() error {
done := make(chan error)
go func() {
err := b.cmd.Wait()
if err != nil {
err = errors.Wrap(err, "failed to wait for shim logger process after SIGTERM")
}
done <- err
done <- b.cmd.Wait()
}()
select {