Browse code

Timeouts are causing tests to fail differently. GCCGO CI. Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>

Srini Brahmaroutu authored on 2015/10/06 07:15:02
Showing 1 changed files
... ...
@@ -171,7 +171,7 @@ func (s *DockerCmdSuite) TestDockerCmdWithTimeout(c *check.C) {
171 171
 		{
172 172
 			"doesnotexists",
173 173
 			[]string{},
174
-			5 * time.Millisecond,
174
+			100 * time.Millisecond,
175 175
 			`Command doesnotexists not found.`,
176 176
 			1,
177 177
 			fmt.Errorf(`"" failed with errors: exit status 1 : "Command doesnotexists not found."`),
... ...
@@ -179,7 +179,7 @@ func (s *DockerCmdSuite) TestDockerCmdWithTimeout(c *check.C) {
179 179
 		{
180 180
 			dockerBinary,
181 181
 			[]string{"an", "error"},
182
-			5 * time.Millisecond,
182
+			100 * time.Millisecond,
183 183
 			`an error has occurred`,
184 184
 			1,
185 185
 			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) {
195 195
 		{
196 196
 			dockerBinary,
197 197
 			[]string{"run", "-ti", "ubuntu", "echo", "hello"},
198
-			5 * time.Millisecond,
198
+			100 * time.Millisecond,
199 199
 			"hello",
200 200
 			0,
201 201
 			nil,
... ...
@@ -282,7 +282,7 @@ func (s *DockerCmdSuite) TestDockerCmdInDirWithTimeout(c *check.C) {
282 282
 		{
283 283
 			"doesnotexists",
284 284
 			[]string{},
285
-			5 * time.Millisecond,
285
+			100 * time.Millisecond,
286 286
 			`Command doesnotexists not found.`,
287 287
 			1,
288 288
 			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) {
290 290
 		{
291 291
 			dockerBinary,
292 292
 			[]string{"an", "error"},
293
-			5 * time.Millisecond,
293
+			100 * time.Millisecond,
294 294
 			`an error has occurred`,
295 295
 			1,
296 296
 			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) {
306 306
 		{
307 307
 			dockerBinary,
308 308
 			[]string{"run", "-ti", "ubuntu", "echo", "hello"},
309
-			5 * time.Millisecond,
309
+			100 * time.Millisecond,
310 310
 			"hello",
311 311
 			0,
312 312
 			nil,