1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #35771 from thaJeztah/fix-flaky-testloTestLogsAPIUntil

Make TestLogsAPIUntil less flaky
This commit is contained in:
Yong Tang 2017-12-12 10:12:35 -06:00 committed by GitHub
commit 1082aa759e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ func (s *DockerSuite) TestLogsAPIUntilFutureFollow(c *check.C) {
func (s *DockerSuite) TestLogsAPIUntil(c *check.C) { func (s *DockerSuite) TestLogsAPIUntil(c *check.C) {
name := "logsuntil" name := "logsuntil"
dockerCmd(c, "run", "--name", name, "busybox", "/bin/sh", "-c", "for i in $(seq 1 3); do echo log$i; done") dockerCmd(c, "run", "--name", name, "busybox", "/bin/sh", "-c", "for i in $(seq 1 3); do echo log$i; sleep 1; done")
client, err := request.NewClient() client, err := request.NewClient()
if err != nil { if err != nil {