Remove uneeded sleep in test bash loop
This sleep probably doesn't work because sleep typically takes only whole numbers, to do < 1s you need to use usleep. It also is not really needed as the loop has a very low bound that will not eat up too much CPU. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
parent
9f5540f672
commit
ee594dcb7d
1 changed files with 1 additions and 1 deletions
|
@ -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; sleep 0.5; done")
|
||||
dockerCmd(c, "run", "--name", name, "busybox", "/bin/sh", "-c", "for i in $(seq 1 3); do echo log$i; done")
|
||||
|
||||
client, err := request.NewClient()
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue