mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
Do not fail in TearDown
if container not found when removing
If the container is not found when removing, it means it's already not there anymore, so it's safe to ignore. This should reduce a bit some `TearDown` flakyness.. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
@ -1291,7 +1291,7 @@ func (s *DockerSuite) TestPutContainerArchiveErrSymlinkInVolumeToReadOnlyRootfs(
|
||||
readOnly: true,
|
||||
volumes: defaultVolumes(testVol), // Our bind mount is at /vol2
|
||||
})
|
||||
defer deleteContainer(cID)
|
||||
defer deleteContainer(false, cID)
|
||||
|
||||
// Attempt to extract to a symlink in the volume which points to a
|
||||
// directory outside the volume. This should cause an error because the
|
||||
|
Reference in New Issue
Block a user