From 3598f2e33198686f0afa08aca640dbda8697fcb2 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Mon, 23 May 2016 18:14:55 -0700 Subject: [PATCH] Fix error channel size in seccomp test This was not changed when the additional tests were added. It may be the reason for occasional test failures. Signed-off-by: Justin Cormack --- integration-cli/docker_cli_run_unix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_run_unix_test.go b/integration-cli/docker_cli_run_unix_test.go index b0502e5106..4872c2b909 100644 --- a/integration-cli/docker_cli_run_unix_test.go +++ b/integration-cli/docker_cli_run_unix_test.go @@ -949,7 +949,7 @@ func (s *DockerSuite) TestRunSeccompDefaultProfile(c *check.C) { var group sync.WaitGroup group.Add(11) - errChan := make(chan error, 4) + errChan := make(chan error, 11) go func() { out, _, err := dockerCmdWithError("run", "syscall-test", "acct-test") if err == nil || !strings.Contains(out, "Operation not permitted") {