1
0
mirror of https://github.com/docker/compose.git synced 2025-04-08 17:05:13 +02:00

Put 40 seconds for timeout instead of 20

For some reason this test fails on CI with a timeout.
This commit is contained in:
Djordje Lukic 2020-08-13 09:50:06 +02:00
parent 544d4811c3
commit 9a29037e0f

@ -299,7 +299,7 @@ func TestLegacy(t *testing.T) {
t.Run("local run", func(t *testing.T) {
t.Parallel()
cmd := c.NewDockerCmd("run", "--rm", "hello-world")
cmd.Timeout = 20 * time.Second
cmd.Timeout = 40 * time.Second
res := icmd.RunCmd(cmd)
res.Assert(t, icmd.Expected{Out: "Hello from Docker!"})
})