summaryrefslogtreecommitdiff
path: root/integration/plugin
diff options
context:
space:
mode:
authorBrian Goff <cpuguy83@gmail.com>2020-09-12 21:43:05 -0700
committerGitHub <noreply@github.com>2020-09-12 21:43:05 -0700
commitbf6f0d82bc246c4e96b8925fc24c443b52facf61 (patch)
tree77fd0dd2947dc14aae868f4d9947fa65e4acb994 /integration/plugin
parentc036d26f270607c5655e57e4344d7c323fbc00e5 (diff)
parentd1c2f953c5e44c59c4ce688d531d94ac012a8df7 (diff)
downloaddocker-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.go2
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