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
1 changed files with 1 additions and 1 deletions

View File

@ -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!"})
})