Browse Source

Put 40 seconds for timeout instead of 20

For some reason this test fails on CI with a timeout.
Djordje Lukic 5 years ago
parent
commit
9a29037e0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/e2e/e2e_test.go

+ 1 - 1
tests/e2e/e2e_test.go

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