Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit bd36668

Browse files
author
Antony MECHIN
committed
tests: Sleep a few seconds before interactiong with the DinD.
Signed-off-by: Antony MECHIN <antony.mechin@docker.com>
1 parent 85ea7e0 commit bd36668

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

e2e/container.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"strconv"
88
"strings"
99
"testing"
10+
"time"
1011

1112
"gotest.tools/assert"
1213
)
@@ -35,6 +36,7 @@ func (c *container) start(t *testing.T) {
3536
cmd := exec.Command("docker", "run", "--rm", "--privileged", "-d", "-P", c.image)
3637
output := runCmd(t, cmd)
3738
c.container = strings.Trim(output, " \r\n")
39+
time.Sleep(time.Second * 3)
3840
}
3941

4042
// Stop terminates this container

0 commit comments

Comments
 (0)