Log events stream when TestEventStreaming fails.

Let the tag event some more time to be emitted.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: a3056f9f72baf71655a47ac5b891c892d0174ac4
Component: engine
This commit is contained in:
David Calavera
2015-12-11 16:06:24 -05:00
parent c6e3ae9ff6
commit aa7be52b1d
2 changed files with 17 additions and 13 deletions

View File

@ -6449,7 +6449,7 @@ func (s *DockerSuite) TestBuildTagEvent(c *check.C) {
case ev := <-ch:
c.Assert(ev.Status, check.Equals, "tag")
c.Assert(ev.ID, check.Equals, "test:latest")
case <-time.After(time.Second):
case <-time.After(5 * time.Second):
c.Fatal("The 'tag' event not heard from the server")
}
}