Browse code

Windows CI: Another reliability fix

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2016/02/11 04:07:29
Showing 1 changed files
... ...
@@ -241,7 +241,8 @@ func (d *Driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, hooks execd
241 241
 					!strings.Contains(err.Error(), `Win32 API call returned error r1=0x80070490`) && // Element not found
242 242
 					!strings.Contains(err.Error(), `Win32 API call returned error r1=0x80070002`) && // The system cannot find the file specified
243 243
 					!strings.Contains(err.Error(), `Win32 API call returned error r1=0x800704c6`) && // The network is not present or not started
244
-					!strings.Contains(err.Error(), `Win32 API call returned error r1=0x800700a1`) { // The specified path is invalid
244
+					!strings.Contains(err.Error(), `Win32 API call returned error r1=0x800700a1`) && // The specified path is invalid
245
+					!strings.Contains(err.Error(), `Win32 API call returned error r1=0x800710d8`) { // The object identifier does not represent a valid object
245 246
 					logrus.Debugln("Failed to create temporary container ", err)
246 247
 					return execdriver.ExitStatus{ExitCode: -1}, err
247 248
 				}