Quellcode durchsuchen

Put 40 seconds for timeout instead of 20

For some reason this test fails on CI with a timeout.
Djordje Lukic vor 5 Jahren
Ursprung
Commit
9a29037e0f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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.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!"})
 	})