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

Give more time to github actions to run it
This commit is contained in:
Djordje Lukic 2020-05-14 15:57:58 +02:00 committed by GitHub
commit 8032a601c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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()