diff options
author | Brian Goff <cpuguy83@gmail.com> | 2020-09-12 21:43:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 21:43:05 -0700 |
commit | bf6f0d82bc246c4e96b8925fc24c443b52facf61 (patch) | |
tree | 77fd0dd2947dc14aae868f4d9947fa65e4acb994 /integration/plugin | |
parent | c036d26f270607c5655e57e4344d7c323fbc00e5 (diff) | |
parent | d1c2f953c5e44c59c4ce688d531d94ac012a8df7 (diff) | |
download | docker-bf6f0d82bc246c4e96b8925fc24c443b52facf61.tar.gz |
Merge pull request #41360 from lzhfromustc/GL_5
Builder: Add 1 buffer to two channels to avoid blocking goroutine
Diffstat (limited to 'integration/plugin')
-rw-r--r-- | integration/plugin/logging/read_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration/plugin/logging/read_test.go b/integration/plugin/logging/read_test.go index 028a488cdf..e84738a72e 100644 --- a/integration/plugin/logging/read_test.go +++ b/integration/plugin/logging/read_test.go @@ -73,7 +73,7 @@ func TestReadPluginNoRead(t *testing.T) { buf := bytes.NewBuffer(nil) - errCh := make(chan error) + errCh := make(chan error, 1) go func() { _, err := stdcopy.StdCopy(buf, buf, logs) errCh <- err |