mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Fix test TestEventsDefaultEmpty. Fixes #14360
Signed-off-by: Lei Jitang <leijitang@huawei.com> Upstream-commit: 28028312183126102b8eb260b7112cc37dd5aca9 Component: engine
This commit is contained in:
@@ -779,7 +779,7 @@ func (s *DockerSuite) TestEventsTop(c *check.C) {
|
||||
|
||||
// #13753
|
||||
func (s *DockerSuite) TestEventsDefaultEmpty(c *check.C) {
|
||||
dockerCmd(c, "run", "-d", "busybox")
|
||||
dockerCmd(c, "run", "busybox")
|
||||
out, _ := dockerCmd(c, "events", fmt.Sprintf("--until=%d", daemonTime(c).Unix()))
|
||||
c.Assert(strings.TrimSpace(out), check.Equals, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user