Do not allow failure to remove container to mask earlier failure

This commit is contained in:
Andy Wilkinson 2017-06-03 16:53:28 +01:00
parent 31ff7f1846
commit e60a261952
1 changed files with 6 additions and 1 deletions

View File

@ -247,7 +247,12 @@ public class SysVinitLaunchScriptIT {
return output.toString();
}
finally {
docker.removeContainerCmd(container).exec();
try {
docker.removeContainerCmd(container).exec();
}
catch (Exception ex) {
// Continue
}
}
}