Merge pull request #22926 from justincormack/seccomp-test

Fix error channel size in seccomp test
Upstream-commit: a5aba7752a9716cde55e94705048407bed17374f
Component: engine
This commit is contained in:
Tõnis Tiigi
2016-05-23 22:28:24 -07:00
@@ -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") {