Do not allow failure to remove container to mask earlier failure
This commit is contained in:
@@ -247,7 +247,12 @@ public class SysVinitLaunchScriptIT {
|
||||
return output.toString();
|
||||
}
|
||||
finally {
|
||||
docker.removeContainerCmd(container).exec();
|
||||
try {
|
||||
docker.removeContainerCmd(container).exec();
|
||||
}
|
||||
catch (Exception ex) {
|
||||
// Continue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user