Pārlūkot izejas kodu

Merge pull request #22926 from justincormack/seccomp-test

Fix error channel size in seccomp test
Tõnis Tiigi 9 gadi atpakaļ
vecāks
revīzija
a5aba7752a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 	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") {