mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Do not allow failure to remove container to mask earlier failure
This commit is contained in:
+6
-1
@@ -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