From a98acafeee2e5adbcb8c21876c9002e74c02b3d7 Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Thu, 14 May 2020 13:01:05 +0200 Subject: [PATCH] Give more time to github actions to run it Signed-off-by: Ulysses Souza --- tests/e2e/e2e.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/e2e.go b/tests/e2e/e2e.go index d20173ed3..8c258d239 100644 --- a/tests/e2e/e2e.go +++ b/tests/e2e/e2e.go @@ -36,9 +36,9 @@ func main() { Expect(output).To(ContainSubstring("\"docker swarm join\" requires exactly 1 argument.")) }) - It("should run local container in less than 2 secs", func() { + It("should run local container in less than 5 secs", func() { NewDockerCommand("pull", "hello-world").ExecOrDie() - output := NewDockerCommand("run", "hello-world").WithTimeout(time.NewTimer(2 * time.Second).C).ExecOrDie() + output := NewDockerCommand("run", "hello-world").WithTimeout(time.NewTimer(5 * time.Second).C).ExecOrDie() Expect(output).To(ContainSubstring("Hello from Docker!")) }) @@ -49,7 +49,7 @@ func main() { It("creates a new test context to hardcoded example backend", func() { NewDockerCommand("context", "create", "test-example", "example").ExecOrDie() - //Expect(output).To(ContainSubstring("test-example context acitest created")) + // Expect(output).To(ContainSubstring("test-example context acitest created")) }) defer NewDockerCommand("context", "rm", "test-example").ExecOrDie()