mirror of
https://github.com/docker/cli.git
synced 2026-09-25 17:02:07 -04:00
Merge pull request #20442 from cpuguy83/fix_flakey_TestAuthZPluginAllowEventStream
Fix flakey TestAuthZPluginAllowEventStream Upstream-commit: e7b25237514917d16b2422404777ec364200917a Component: engine
This commit is contained in:
@@ -261,8 +261,8 @@ func (s *DockerAuthzSuite) TestAuthZPluginAllowEventStream(c *check.C) {
|
||||
// Create a container and wait for the creation events
|
||||
out, err := s.d.Cmd("run", "-d", "busybox", "top")
|
||||
c.Assert(err, check.IsNil, check.Commentf(out))
|
||||
|
||||
containerID := strings.TrimSpace(out)
|
||||
c.Assert(s.d.waitRun(containerID), checker.IsNil)
|
||||
|
||||
events := map[string]chan bool{
|
||||
"create": make(chan bool),
|
||||
|
||||
Reference in New Issue
Block a user