mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #22926 from justincormack/seccomp-test
Fix error channel size in seccomp test
This commit is contained in:
commit
a5aba7752a
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue