소스 검색

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 9 년 전
부모
커밋
3598f2e331
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      integration-cli/docker_cli_run_unix_test.go

+ 1 - 1
integration-cli/docker_cli_run_unix_test.go

@@ -949,7 +949,7 @@ func (s *DockerSuite) TestRunSeccompDefaultProfile(c *check.C) {
 
 
 	var group sync.WaitGroup
 	var group sync.WaitGroup
 	group.Add(11)
 	group.Add(11)
-	errChan := make(chan error, 4)
+	errChan := make(chan error, 11)
 	go func() {
 	go func() {
 		out, _, err := dockerCmdWithError("run", "syscall-test", "acct-test")
 		out, _, err := dockerCmdWithError("run", "syscall-test", "acct-test")
 		if err == nil || !strings.Contains(out, "Operation not permitted") {
 		if err == nil || !strings.Contains(out, "Operation not permitted") {