mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
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> Upstream-commit: 3598f2e33198686f0afa08aca640dbda8697fcb2 Component: engine
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user