Преглед изворни кода

Merge pull request #88 from ulyssessouza/fix-ci-timeout

Give more time to github actions to run it
Djordje Lukic пре 5 година
родитељ
комит
8032a601c2
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      tests/e2e/e2e.go

+ 3 - 3
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()