Skip to content

Commit

Permalink
Merge pull request moby#35771 from thaJeztah/fix-flaky-testloTestLogs…
Browse files Browse the repository at this point in the history
…APIUntil

Make TestLogsAPIUntil less flaky
  • Loading branch information
yongtang authored Dec 12, 2017
2 parents e48e938 + 1360f0d commit 1082aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-cli/docker_api_logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (s *DockerSuite) TestLogsAPIUntilFutureFollow(c *check.C) {

func (s *DockerSuite) TestLogsAPIUntil(c *check.C) {
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()
if err != nil {
Expand Down

0 comments on commit 1082aa7

Please sign in to comment.