1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

support cluster events

Signed-off-by: Dong Chen <dongluo.chen@docker.com>
This commit is contained in:
Dong Chen
2017-04-02 15:21:56 -07:00
parent 6f6ee6fd04
commit 59d45c384a
10 changed files with 514 additions and 11 deletions

View File

@ -119,7 +119,7 @@ func (s *DockerSuite) TestEventsLimit(c *check.C) {
out, _ := dockerCmd(c, "events", "--since=0", "--until", daemonUnixTime(c))
events := strings.Split(out, "\n")
nEvents := len(events) - 1
c.Assert(nEvents, checker.Equals, 64, check.Commentf("events should be limited to 64, but received %d", nEvents))
c.Assert(nEvents, checker.Equals, 256, check.Commentf("events should be limited to 256, but received %d", nEvents))
}
func (s *DockerSuite) TestEventsContainerEvents(c *check.C) {