From 0a9741c6cb3d7af4e3b20b4d7d014c57faa7b788 Mon Sep 17 00:00:00 2001 From: Srini Brahmaroutu Date: Mon, 5 Oct 2015 22:15:02 +0000 Subject: [PATCH] Timeouts are causing tests to fail differently. GCCGO CI. Signed-off-by: Srini Brahmaroutu --- integration/dockerCmd_utils_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/integration/dockerCmd_utils_test.go b/integration/dockerCmd_utils_test.go index b7c9671..fd49270 100644 --- a/integration/dockerCmd_utils_test.go +++ b/integration/dockerCmd_utils_test.go @@ -171,7 +171,7 @@ func (s *DockerCmdSuite) TestDockerCmdWithTimeout(c *check.C) { { "doesnotexists", []string{}, - 5 * time.Millisecond, + 100 * time.Millisecond, `Command doesnotexists not found.`, 1, fmt.Errorf(`"" failed with errors: exit status 1 : "Command doesnotexists not found."`), @@ -179,7 +179,7 @@ func (s *DockerCmdSuite) TestDockerCmdWithTimeout(c *check.C) { { dockerBinary, []string{"an", "error"}, - 5 * time.Millisecond, + 100 * time.Millisecond, `an error has occurred`, 1, fmt.Errorf(`"an error" failed with errors: exit status 1 : "an error has occurred"`), @@ -195,7 +195,7 @@ func (s *DockerCmdSuite) TestDockerCmdWithTimeout(c *check.C) { { dockerBinary, []string{"run", "-ti", "ubuntu", "echo", "hello"}, - 5 * time.Millisecond, + 100 * time.Millisecond, "hello", 0, nil, @@ -282,7 +282,7 @@ func (s *DockerCmdSuite) TestDockerCmdInDirWithTimeout(c *check.C) { { "doesnotexists", []string{}, - 5 * time.Millisecond, + 100 * time.Millisecond, `Command doesnotexists not found.`, 1, fmt.Errorf(`"dir:%s" failed with errors: exit status 1 : "Command doesnotexists not found."`, tempFolder), @@ -290,7 +290,7 @@ func (s *DockerCmdSuite) TestDockerCmdInDirWithTimeout(c *check.C) { { dockerBinary, []string{"an", "error"}, - 5 * time.Millisecond, + 100 * time.Millisecond, `an error has occurred`, 1, fmt.Errorf(`"dir:%s an error" failed with errors: exit status 1 : "an error has occurred"`, tempFolder), @@ -306,7 +306,7 @@ func (s *DockerCmdSuite) TestDockerCmdInDirWithTimeout(c *check.C) { { dockerBinary, []string{"run", "-ti", "ubuntu", "echo", "hello"}, - 5 * time.Millisecond, + 100 * time.Millisecond, "hello", 0, nil,