Просмотр исходного кода

Put 40 seconds for timeout instead of 20

For some reason this test fails on CI with a timeout.
Djordje Lukic 5 лет назад
Родитель
Сommit
9a29037e0f
1 измененных файлов с 1 добавлено и 1 удалено
  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!"})
 	})