Browse code

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 <justin.cormack@docker.com>

Justin Cormack authored on 2016/05/24 10:14:55
Showing 1 changed files
... ...
@@ -949,7 +949,7 @@ func (s *DockerSuite) TestRunSeccompDefaultProfile(c *check.C) {
949 949
 
950 950
 	var group sync.WaitGroup
951 951
 	group.Add(11)
952
-	errChan := make(chan error, 4)
952
+	errChan := make(chan error, 11)
953 953
 	go func() {
954 954
 		out, _, err := dockerCmdWithError("run", "syscall-test", "acct-test")
955 955
 		if err == nil || !strings.Contains(out, "Operation not permitted") {